carbond.collections.IdGenerator

extends IdGenerator

Generates ObjectId IDs

Abstract Methods

generateId  
Arguments
  • collection (Collection) – The collection that IDs are being generated for
  • req (Request) – The incoming request
Returns The ID
Return type *
Description Generates an ID, where the definition of ID is left up to the implementor