Skip to content

Conversation

maganap
Copy link

@maganap maganap commented Mar 13, 2014

new: mongoc_collection_get_last_error().
Documentation added.
Related to: https://jira.mongodb.org/browse/CDRIVER-295

new: mongoc_collection_get_last_error().
Documentation added.
Related to: https://jira.mongodb.org/browse/CDRIVER-295
@chergert
Copy link
Contributor

Hi @maganap, I've committed this to master with a followup commit that changes the semantics a bit. Please take a look at b04fd67 for the details. In particular, mongoc_collection_get_last_error() now returns a "const bson_t*". Also, I've changed the parameters to _mongoc_client_recv_gle() so it uses an out parameter for the reply document (rather than passing in mongoc_collection_t).

This requires libbson from master for the bson_clear() macro (the bundled libbson is updated, however).

@chergert chergert closed this Mar 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants