CollectionKeyOptions Properties |
The CollectionKeyOptions type exposes the following members.
Name | Description | |
---|---|---|
AllowUserKeys |
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.
| |
Increment |
Increment value for autoincrement key generator.
Not used for other key generator types.
| |
Offset |
Initial offset value for autoincrement key generator.
Not used for other key generator types.
| |
Type |
Apecifies the type of the key generator.
The currently available generators are traditional, autoincrement, uuid and padded.
|