1MONGOC_COLLECTION_GET_LAST_ERROR(3)libmongocMONGOC_COLLECTION_GET_LAST_ERROR(3)
2
3
4

NAME

6       mongoc_collection_get_last_error - mongoc_collection_get_last_error()
7

SYNOPSIS

9          const bson_t *
10          mongoc_collection_get_last_error (const mongoc_collection_t *collection);
11

PARAMETERS

13       ยท collection: A mongoc_collection_t.
14

DESCRIPTION

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

RETURNS

23       A bson_t that should not be modified or NULL.
24

AUTHOR

26       MongoDB, Inc
27
29       2017-present, MongoDB, Inc
30
31
32
33
341.16.2                           Feb 25, 202M0ONGOC_COLLECTION_GET_LAST_ERROR(3)
Impressum