1BSON_OID_INIT_SEQUENCE(3)           libbson          BSON_OID_INIT_SEQUENCE(3)
2
3
4

WARNING:

6          Deprecated  since  version  1.14.0:  This function is deprecated and
7          should not be used in new code.
8
9          Please use bson_oid_init() in new code.
10
11

SYNOPSIS

13          void
14          bson_oid_init_sequence (bson_oid_t *oid, bson_context_t *context)
15            BSON_GNUC_DEPRECATED_FOR (bson_oid_init);
16

PARAMETERS

18oid: A bson_oid_t.
19
20context: An optional bson_context_t.
21

DESCRIPTION

23       Generates a new ObjectID with the next 64-bit sequence number  in  con‐
24       text.  The  first  4 bytes contain the current time and the following 8
25       contain the sequence number in big-endian format.
26
27       The bson_oid_t generated by this function is not guaranteed to be glob‐
28       ally unique. Only unique within this context. It is however, guaranteed
29       to be sequential.
30

AUTHOR

32       MongoDB, Inc
33
35       2017-present, MongoDB, Inc
36
37
38
39
401.25.1                           Nov 08, 2023        BSON_OID_INIT_SEQUENCE(3)
Impressum