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