table of contents
BSON_OID_INIT_SEQUENCE(3) | Library Functions Manual | BSON_OID_INIT_SEQUENCE(3) |
NAME¶
bson_oid_init_sequence() - Generates a new ObjectID using the 64-bit sequence.SYNOPSIS¶
void bson_oid_init_sequence (bson_oid_t *oid, bson_context_t *context);
PARAMETERS¶
- oid
- A bson_oid_t
- context
- An optional bson_context_t
DESCRIPTION¶
Generates a new ObjectID using the 64‐bit sequence.NOTE
This form of ObjectID is generally used by MongoDB
replica peers only.
COLOPHON¶
This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.2016‐10‐12 | libbson |