Commit Graph

6 Commits (86dab637634ea6fa3bc2e65770dea3e182f1d5ad)

Author SHA1 Message Date
Thijs Cadier b12196a41e Support for tailing queries
Add a tail convenience method that returns a tailing cursor
that implements the recommended way of tailing and reconnecting
in it's iterator implementation.

Also move optional arguments to separate type that can optionally be
added to the various methods.
9 years ago
Thijs Cadier c7a2b78016 Support for iterating tailing cursors
When there is no result after calling mongoc_cursor_next, but the cursor
is still alive we need to sleep and try again.
9 years ago
Thijs Cadier d2919f79a6 Fix warnings and don't use scoped anymore 9 years ago
Thijs Cadier f3bb18630f Add database wrapper with get and create collection 9 years ago
Thijs Cadier b1987b1e36 Add Collection.get_name() 9 years ago
Thijs Cadier d686ba240f Initial version 9 years ago