Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TableBatchImpl

Package version

TableBatch collects sub-operations that can be submitted together via submitBatch

Hierarchy

  • TableBatchImpl

Implements

Index

Constructors

constructor

Properties

partitionKey

partitionKey: string

Partition key tagetted by the batch

Methods

createEntities

  • Adds a createEntity operation to the batch per each entity in the entities array

    Type parameters

    • T: object

    Parameters

    • entitites: TableEntity<T>[]

      Array of entities to create

    Returns void

createEntity

  • Adds a createEntity operation to the batch

    Type parameters

    • T: object

    Parameters

    Returns void

deleteEntity

  • Adds a deleteEntity operation to the batch

    Parameters

    • partitionKey: string

      partition key of the entity to delete

    • rowKey: string

      row key of the entity to delete

    • Optional options: DeleteTableEntityOptions

      options for the delete operation

    Returns void

submitBatch

  • submitBatch(): Promise<any>
  • Submits the operations in the batch

    Returns Promise<any>

updateEntity

Generated using TypeDoc