map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface CreateOptions<IDType>

    Options to customize the Put/Add Operation. Each option is optional and advisory. stores are not required to implement or respond to any property.

    interface CreateOptions<IDType extends AllowedIdTypes> {
        id?: IDType;
        overwrite?: boolean;
    }

    Type Parameters

    Index

    Properties

    Properties

    id?: IDType

    Indicates the identity of the item, when a new object is created. *

    overwrite?: boolean

    Flag that indicates that a new object should overwrite an existing object.

    If set to 'true', no new object should be created, but an existing object should be updated. If set to 'false' a new object should be created (which is the same as an add() operation).