Optional
allowUnless set to false
, documents can be created with a user-specified
_key
attribute.
Default: true
Optional
increment?: number(Autoincrement only.) How many steps to increment the key each time.
Optional
offset?: number(Autoincrement only.) Initial offset for the key.
Optional
type?: KeyGeneratorType of key generator to use.
An object defining the collection's key generation.