Scroll to navigation

MONGOC_BULKWRITE_SERVERID_T(3) libmongoc MONGOC_BULKWRITE_SERVERID_T(3)

SYNOPSIS

typedef struct {

bool is_ok; // true if no error
uint32_t serverid; // the server ID last used in `mongoc_bulkwrite_execute` } mongoc_bulkwrite_serverid_t;


DESCRIPTION

mongoc_bulkwrite_serverid_t <> is returned by mongoc_bulkwrite_serverid() <>.

is_ok is false if there was no previous call to mongoc_bulkwrite_execute() <> or if execution failed.

serverid is the server ID last used in mongoc_bulkwrite_execute() <>.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

December 11, 2025 2.2.1