Collection Spec
class CollectionSpec(scopeName: String, name: String, maxExpiry: Duration?, history: Boolean?)
Content copied to clipboard
Information about a collection.
Constructors
Link copied to clipboard
Content copied to clipboard
Link copied to clipboard
fun CollectionSpec(scopeName: String, name: String, maxExpiry: Duration? = null, history: Boolean? = null)
Content copied to clipboard
Types
Functions
Link copied to clipboard
Content copied to clipboard
Properties
Link copied to clipboard
Maximum expiry for documents in the collection. Null means the collection's max expiry is always the same as the bucket's max expiry. A duration equal to NEVER_EXPIRE (-1 seconds) means documents in the collection never expire, regardless of the bucket's max expiry.