Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
BSON_OID_INIT_SEQUENCE(3)	    libbson	     BSON_OID_INIT_SEQUENCE(3)

WARNING:
	  Deprecated since version 1.14.0: Use bson_oid_init() instead.

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 with the next	64-bit sequence	number in con-
       text. The first 4 bytes contain the current time	and  the  following  8
       contain the sequence number in big-endian format.

       The bson_oid_t generated	by this	function is not	guaranteed to be glob-
       ally unique. Only unique	within this context. It	is however, guaranteed
       to be sequential.

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 2025	     BSON_OID_INIT_SEQUENCE(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bson_oid_init_sequence&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help