Commit Graph

260 Commits (main)
 

Author SHA1 Message Date
Thijs Cadier 498b19c892 Add note about DYLD_LIBRARY_PATH to readme 9 years ago
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 f18fde5c77 Add clang include dir detection and override
On some systems the clang include directory cannot be found. This
adds the path detected by bindgen's get_include_dir and a manual
override via an env var.

Thanks to @zerosign for reporting and proposing a solution.
9 years ago
Thijs Cadier a4b4223645 Add metatadata in Cargo.toml 9 years ago
Thijs Cadier dde8830599 Use bson from crates.io 9 years ago
Thijs Cadier d686ba240f Initial version 9 years ago