Constant
Predefined constant values for quick input for interfaces.
Name |
Value |
Type |
Description |
---|---|---|---|
TTL_SECONDS |
collection.ttl.seconds |
String |
Property key for alterCollection() and createCollection() to set the ttl value. |
MMAP_ENABLED |
mmap.enabled |
String |
Property key for alterCollection() and alterIndex() to enable mmap. |
DATABASEREPLICANUMBER |
database.replica.number |
String |
Property key for createDatabase() and alterDatabase() to set default replica number. |
DATABASERESOURCEGROUPS |
database.resource_groups |
String |
Property key for createDatabase() and alterDatabase() to set default resource groups. |
COLLECTIONREPLICANUMBER |
collection.replica.number |
String |
Property key for createCollection() and alterCollection() to set default replica number. |
COLLECTIONRESOURCEGROUPS |
collection.resource_groups |
String |
Property key for createCollection() and alterCollection() to set default resource groups. |