carbond.ObjectIdGenerator¶
extends IdGenerator
Generates ObjectId IDs
Instance Properties¶
- ¶
generateStrings booleanDefault false Description Whether or not to return a stringrepresentation of theObjectId
Methods¶
- ¶
generateId overridesgenerateIdReturns Returns the ObjectIdinstance of astringif configured to do soReturn type ObjectId| stringDescription Generates an ObjectId