Provides the public embedded reactive collection API.

interface EmbeddedAPI {
    create<T>(doc: T, options: DynOptionsMapCreate<string, InstanceType<T>>): DynMapReducer<string, InstanceType<T>>;
    destroy<T>(doc?: T, storeName?: string): boolean;
    get<T>(doc: T, storeName: string): DynMapReducer<string, InstanceType<T>>;
}

Methods

    • Destroys one or more embedded collection stores.

    Type Parameters

    Parameters

    • Optionaldoc: T
    • OptionalstoreName: string

    Returns boolean