mongoc_bulkwrite_serverid()¶
Synopsis¶
mongoc_bulkwrite_serverid_t
mongoc_bulkwrite_serverid (const mongoc_bulkwrite_t * self, bson_error_t * error);
Description¶
Gets the server ID last used in the previous call to mongoc_bulkwrite_execute(). If an error occured, the
is_ok
member of mongoc_bulkwrite_serverid_t will be false
and error
will be set.