Optional cacheWhether the in-memory hash cache is enabled for this collection.
Default: false
Optional computedComputed values to apply to documents in this collection.
Optional replication(Cluster only.) How many copies of each document should be kept in the cluster.
Default: 1
Optional schema?: SchemaOptionsOptions for validating documents in this collection.
Optional waitWhether data should be synchronized to disk before returning from a document create, update, replace or removal operation.
Optional write(Cluster only.) Write concern for this collection.
Generated using TypeDoc
Options for setting a collection's properties.
See properties and properties.