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

NAME

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

SYNOPSIS

16          void
17          bson_oid_init_sequence (bson_oid_t *oid, bson_context_t *context)
18            BSON_GNUC_DEPRECATED_FOR (bson_oid_init);
19

PARAMETERS

21oid: A bson_oid_t.
22
23context: An optional bson_context_t.
24

DESCRIPTION

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

AUTHOR

35       MongoDB, Inc
36
38       2017-present, MongoDB, Inc
39
40
41
42
431.24.3                           Aug 17, 2023        BSON_OID_INIT_SEQUENCE(3)
Impressum