Behaviours: gen_server.
| next/1 | |
| next/2 | |
| next_batch/1 | |
| next_batch/2 | |
| rest/1 | |
| rest/2 | |
| take/2 | |
| take/3 | |
| foldl/4 | |
| foldl/5 | |
| map/3 | |
| close/1 | |
| start_link/5 |
next(Cursor::pid()) -> error | {bson:document()}
next(Cursor::pid(), Timeout::timeout()) -> error | {} | {bson:document()}
next_batch(Cursor::pid()) -> error | {bson:document()}
next_batch(Cursor::pid(), Timeout::timeout()) -> error | {} | {bson:document()}
rest(Cursor::pid()) -> [bson:document()] | error
rest(Cursor::pid(), Timeout::timeout()) -> [bson:document()] | error
take(Cursor::pid(), Limit::non_neg_integer()) -> [bson:document()] | error
take(Cursor::pid(), Limit::non_neg_integer(), Timeout::timeout()) -> [bson:document()] | error
foldl(Fun::fun((bson:document(), term()) -> term()), Acc::term(), Cursor::pid(), Max::non_neg_integer() | infinity) -> term()
foldl(Fun::fun((bson:document(), term()) -> term()), Acc::term(), Cursor::pid(), Max::non_neg_integer() | infinity, Timeout::timeout()) -> term()
map(Fun::fun((bson:document()) -> term()), Cursor::pid(), Max::non_neg_integer()) -> [term()]
close(Cursor::pid()) -> ok
start_link(Connection, Collection, Cursor, BatchSize, Batch) -> any()
Generated by EDoc