Interface Insert<Options>

DataStore interface, insert method.

interface Insert<Options> {
    insert: ((...args: [...(object extends Options
        ? [] | [Options]
        : [])[], ...(Data | AnyIterable<Data>)[]]) => Promise<void>);
}

Type Parameters

  • Options extends {} = {}

Hierarchy

  • Insert

    Implemented by

    Properties

    Properties

    insert: ((...args: [...(object extends Options
        ? [] | [Options]
        : [])[], ...(Data | AnyIterable<Data>)[]]) => Promise<void>)

    Insert one or more Data packets.

    Arguments include:

    • an optional Options object
    • zero or more Data, Iterable, or AsyncIterable