Commit Graph

80 Commits (e6757510733854e9a2d9d6edef67d2bd0c49ff3d)

Author SHA1 Message Date
Thijs Cadier 9a10284073 Whitespace fixes 7 years ago
Michael Jansen 77cbcf340d * Improve documentation
* add has_collection test
* fix white spaces
7 years ago
Michael Jansen f6a4cefb64 Add listIndexes to supported batch commands 7 years ago
Michael Jansen 0a3f41bb0c Add database.command_batch which automatically
calls getMore for find and append.
7 years ago
Michael Jansen 0aa99ffbc5 add documentation not to use getMore with db.command 7 years ago
Michael Jansen 4fba9e8b5a Add db.has_collection 7 years ago
Thijs Cadier d0b93b6bb0 Bump bson to 0.11 and use lossy utf-8 decoding for responses
Mongo can return invalid UTF-8 in bson responses:

https://jira.mongodb.org/browse/SERVER-24007

We use lossy UTF-8 decoding when parsing now.
7 years ago
Thijs Cadier 9cdd8e7b62 Test for null bytes in bson string
Make sure there is no regression in the C driver for:

https://jira.mongodb.org/browse/CDRIVER-2250
7 years ago
Thijs Cadier 732d98ae4e Don't use natural option in tail anymore
It's not supported anymore in MongoDB 3.4.
8 years ago
Thijs Cadier 2239818480 Bulk operation result which includes reply 8 years ago
Thijs Cadier 8445e39a73 Add error code for unknown error 8 years ago
Thijs Cadier 2a42c5da7b Add WriteConcernError and DuplicateKey to error 8 years ago
Thijs Cadier 1773d64404 Implement Sync for Uri 8 years ago
Thijs Cadier de99a727d1 Implement Send for Uri 8 years ago
Thijs Cadier 87effd5dc2 Update links to C docs 8 years ago
Thijs Cadier 13273b7755 Support for aggregations 9 years ago
Thijs Cadier 816b6a1283 Add docs for error types 9 years ago
Thijs Cadier e887113b63 Document read pref options 9 years ago
Thijs Cadier 282add350a Change write concern new to default and document it 9 years ago
Thijs Cadier b6da5c9e43 Documentation for read prefs 9 years ago
Thijs Cadier bdf4b6fad8 Docs for cursor 9 years ago
Thijs Cadier dd4b3b7f4f Documentation for Database 9 years ago
Thijs Cadier 58a45bd49d Move Uri to client module 9 years ago
Thijs Cadier 646da592a7 Documentation for flags 9 years ago
Thijs Cadier 3c56489dca Documentation for collection 9 years ago
Thijs Cadier 4b86f8f1f3 Tweak lib doc 9 years ago
Thijs Cadier 15464cddd8 Fix typo in docs 9 years ago
Thijs Cadier 13e0d1662f Move bulk operation to collection and add docs 9 years ago
Thijs Cadier 283a94ce18 Document for client module 9 years ago
Thijs Cadier 981dd021c9 Documentation tweaks for client 9 years ago
Thijs Cadier 02c62c1f9b Docs for bulk operation 9 years ago
Thijs Cadier 0c4428611b Top level documentation and example 9 years ago
Thijs Cadier eac8a0aff6 Use mem::zeroed instead of mem::uninitialized 9 years ago
Thijs Cadier 3cdd312cdf Convert bson json to String directly 9 years ago
Thijs Cadier fcabf5e262 Tweak comments 9 years ago
Thijs Cadier 44bdec78be Replace deprecrated way of going from PathBuf to CString 9 years ago
Thijs Cadier 269d26feb9 Use durations instead of ms for sleeps 9 years ago
Thijs Cadier bae6556fed Updates for newest nightly and bindgen 9 years ago
Thijs Cadier e02ff4d627 Remove cstr_to_str feature marker 9 years ago
Thijs Cadier 5aa1b62faf Use an Arc to share ClientPool between threads 9 years ago
Thijs Cadier 8b3a94a6e8 Add collection update 9 years ago
Thijs Cadier 7140cdd443 Methods to take ownership of a database and collection 9 years ago
Thijs Cadier 6be7ce71f5 Implement partialeq for uri and add get_uri on pool 9 years ago
Thijs Cadier 87e4f3cb8b Fix lifetime issue in options 9 years ago
Thijs Cadier c2338a389f Fix passing of update in find_and_modify 9 years ago
Thijs Cadier e922adcad6 Add find_and_modify on collection 9 years ago
Thijs Cadier 418225ea25 Remove from_json method in bsonc we don't use 10 years ago
Thijs Cadier 98bb376969 Tests and a fix for ssl connections
Setting ssl options was broken because the memory for its content
was released immediately. We now keep ownership of everything until
the pool is dropped.
10 years ago
Thijs Cadier 96a051ef74 Whitespace 10 years ago
Thijs Cadier 74c38fe32a Show code and domain in bsonc error debug output 10 years ago