prorm API Reference
    Preparing search index...

    Interface CosmosDbStoreOptions

    Connection options for CosmosDbStore.

    endpoint/key authenticate against the Cosmos DB account. database selects the default database and container the default container that CRUD methods target when no explicit container is passed. When a pre-built client is supplied (e.g. in tests), connect() uses it directly and skips loading the @azure/cosmos driver.

    interface CosmosDbStoreOptions {
        endpoint?: string;
        key?: string;
        database?: string;
        container?: string;
        client?: any;
    }
    Index
    endpoint?: string

    Cosmos DB account endpoint, e.g. https://acct.documents.azure.com.

    key?: string

    Cosmos DB account primary/secondary key.

    database?: string

    Default database id.

    container?: string

    Default container id used when a method omits the container.

    client?: any

    A pre-built CosmosClient to use instead of connecting via the driver.