carbond.ObjectIdGenerator¶
extends IdGenerator
Generates ObjectId
IDs
Instance Properties¶
- ¶
generateStrings boolean
Default false Description Whether or not to return a string
representation of theObjectId
Methods¶
- ¶
generateId overridesgenerateId
Returns Returns the ObjectId
instance of astring
if configured to do soReturn type ObjectId
| stringDescription Generates an ObjectId