1MONGOC_COLLECTION_GET_LAST_ERROR(3)libmongocMONGOC_COLLECTION_GET_LAST_ERROR(3)
2
3
4
6 mongoc_collection_get_last_error - mongoc_collection_get_last_error()
7
9 const bson_t *
10 mongoc_collection_get_last_error (const mongoc_collection_t *collection);
11
13 • collection: A mongoc_collection_t.
14
16 The mongoc_collection_get_last_error() function returns a bulk result.
17 See Bulk Write Operations for examples of bulk results.
18
19 A write_concern must be at least MONGOC_WRITE_CONCERN_W_DEFAULT in last
20 command execution for this to be available.
21
23 A bson_t that should not be modified or NULL.
24
26 MongoDB, Inc
27
29 2017-present, MongoDB, Inc
30
31
32
33
341.20.0 Nov 18, 202M1ONGOC_COLLECTION_GET_LAST_ERROR(3)