Struct BsonObjectID
Bson.Type.BinData
).Properties
Property name | Type | Description |
---|---|---|
valid | bool | Returns true for any non-zero ID. |
Methods
Method name | Description |
---|---|
this | Constructs a new object ID from the given raw byte array. |
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 . |
opCmp | Allows for relational comparison of different IDs. |
toString | Converts the ID to its standard hexa-decimal string representation. |
Aliases
Alias 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.