Click or drag to resize

CollectionKeyOptions Properties

The CollectionKeyOptions type exposes the following members.

Properties
  NameDescription
Public propertyAllowUserKeys
If set to true, then it is allowed to supply own key values in the _key attribute of a document. If set to false, then the key generator will solely be responsible for generating keys and supplying own key values in the _key attribute of documents is considered an error.
Public propertyIncrement
Increment value for autoincrement key generator. Not used for other key generator types.
Public propertyOffset
Initial offset value for autoincrement key generator. Not used for other key generator types.
Public propertyType
Apecifies the type of the key generator. The currently available generators are traditional, autoincrement, uuid and padded.
Top
See Also