| 
 | The MongoDB\BSON\ObjectId classIntroductionBSON type for an » ObjectId. The value consists of 12 bytes, where the first four bytes are a timestamp that reflect the ObjectId's creation. Specifically, the value consists of: 
 
    In MongoDB, each document stored in a collection requires a unique
     
    Using ObjectIds for the  
 Class synopsisMongoDB\BSON\ObjectId 
     final
     
      class MongoDB\BSON\ObjectId
     
     implements 
       MongoDB\BSON\ObjectIdInterface,  MongoDB\BSON\Type,  JsonSerializable,  Stringable { /* Methods */ 
   final public  __construct(stringnull  $id=null)final public int getTimestamp() final public mixed jsonSerialize() final public string __toString()} Changelog
 
 
 |