couchbase
    Preparing search index...

    Interface ICollectionSpec

    Provides options for configuring a collection.

    interface ICollectionSpec {
        history?: boolean;
        maxExpiry?: number;
        name: string;
        scopeName: string;
    }
    Index

    Properties

    history?: boolean

    The history retention override setting in this collection. Only supported on Magma Buckets.

    maxExpiry?: number

    The maximum expiry for documents in this collection.

    name: string

    The name of the collection.

    scopeName: string

    The name of the scope containing this collection.