package collection
Type Members
- class AsyncCollectionManager extends AnyRef
- class CollectionManager extends AnyRef
- case class CollectionSpec extends Product with Serializable
Represents a collection.
- case class CreateCollectionSettings(maxExpiry: Option[Duration] = None, history: Option[Boolean] = None) extends Product with Serializable
Used when creating a new collection.
Used when creating a new collection.
- maxExpiry
is the time for the TTL for new documents in the collection. It defaults to no expiry.
- history
is whether history retention override is enabled on this collection. If not set it will default to the bucket-level setting.
- class ReactiveCollectionManager extends AnyRef
- case class ScopeSpec(name: String, collections: Seq[CollectionSpec] = Seq()) extends Product with Serializable
- case class UpdateCollectionSettings(maxExpiry: Option[Duration] = None, history: Option[Boolean] = None) extends Product with Serializable
Used when updating a new collection.
Used when updating a new collection.
- maxExpiry
is the time for the TTL for new documents in the collection. It defaults to no expiry.
- history
is whether history retention override is enabled on this collection. If not set it will default to the bucket-level setting.