MONGOC_BULKWRITERESULT_SERVERID(3)

SYNOPSIS

    uint32_t
    mongoc_bulkwriteresult_serverid (const mongoc_bulkwriteresult_t *self);

DESCRIPTION

Returns the most recently selected server. The returned value may differ from a serverid previously set with mongoc_bulkwriteopts_set_serverid() if a retry occurred. A server ID of 0 indicates that no server was successfully selected. Intended for use by wrapping drivers that select a server before running the operation.

AUTHOR
MongoDB, Inc

COPYRIGHT
2009-present, MongoDB, Inc.