Struct BsonObjectID
Represents a BSON object id (Bson.Type.BinData
).
Constructors
Name | Description |
---|---|
this | Constructs a new object ID from the given raw byte array. |
Methods
Name | Description |
---|---|
fromString | Creates an on object ID from a string in standard hexa-decimal form. |
generate | Generates a unique object ID. |
createDateID | Creates a pseudo object ID that matches the given date . |
valid | Returns true for any non-zero ID. |
timeStamp | Extracts the time/date portion of the object ID. |
opCmp | Allows for relational comparison of different IDs. |
toString | Converts the ID to its standard hexa-decimal string representation. |
opCast |
Aliases
Name | Description |
---|---|
fromHexString | Creates an on object ID from a string in standard hexa-decimal form. |
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.