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
Thijs Cadier
72cb5be78f
Add command_simple
10 years ago
Thijs Cadier
eb1888b00c
Add log handling
10 years ago
Thijs Cadier
e4b9864bfc
Rename wrapper package and use openssl-sys crate
10 years ago
Thijs Cadier
d6e9d823aa
Add CommandAndFindOptions with_fields convenience method
10 years ago
Thijs Cadier
d8669a4226
Use insert_bson in cursor
10 years ago
Thijs Cadier
ddd01a78e4
Allow mixed usage of strings and slices in get_collection
10 years ago
Thijs Cadier
0b61492889
Add ValueAccessError to MongoError
10 years ago
Thijs Cadier
c5dce56e0d
Add get_database on uri
10 years ago
Thijs Cadier
6d5c6ec18d
Uri new now returns an option
10 years ago
Thijs Cadier
c77cc42024
Attach fields bson to lifetime of cursor
10 years ago
Thijs Cadier
fc71370c0f
Move integration tests to own dir
10 years ago
Thijs Cadier
b2d927c137
bsonc and error don't need to be public
10 years ago
Thijs Cadier
728c628340
Check for existense of paths for ssl options
...
fixes #7
10 years ago
Thijs Cadier
1830144125
Replace all bson document handling with macro
10 years ago
Thijs Cadier
2cd8d988db
Use uninitialized memory for client padding
10 years ago
Thijs Cadier
8ebb87792a
Add test for multiple queries with same fields object
10 years ago
Thijs Cadier
eac4815563
Ssl options for client pool
10 years ago
Thijs Cadier
d2e0fbc109
Add command on collection and database
10 years ago
Thijs Cadier
82852b98ce
Add Client get_server_status
10 years ago
Thijs Cadier
9d299055e7
Add asserts and whitespace fix
10 years ago
Thijs Cadier
df9749c5c4
WIP Collection bulk operation
10 years ago
Thijs Cadier
9cbe2b03c3
Call init when creating first client pool
10 years ago
Thijs Cadier
f9e4280836
Use std::sync::Once for init
10 years ago
Thijs Cadier
e88e6892f9
Use bson from Git for now
10 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.
10 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.
10 years ago
Thijs Cadier
d2919f79a6
Fix warnings and don't use scoped anymore
10 years ago
Thijs Cadier
f3bb18630f
Add database wrapper with get and create collection
10 years ago
Thijs Cadier
b1987b1e36
Add Collection.get_name()
10 years ago
Thijs Cadier
d686ba240f
Initial version
10 years ago