• Type Parameters

    Parameters

    • collectionId: string

      The ID of the collection to add the items to.

    • items: CItem[]

      The items to add.

    • Optionaloptions: WeivDataOptionsWrite

      An object containing options to use when processing this operation.

    Returns Promise<BulkInsertResult<CItem>>

    Fulfilled - The results of the bulk insert. Rejected - The error that caused the rejection.

    Adds a number of items to a collection.