• Synchronous write operation that groups up to 25 action requests by delegating to DocumentClient.transactWrite.

    You can use the transactItem helper to create the request items.

    Example

    import { transactItem as tr } from 'dynamo-facade-v2';

    df.transactWrite([
    tr.put('movies', { actor: 'Tom Hanks', movie: 'Toy Story' }
    ])

    Returns

    The same response returned by transactWrite().promise()

    Parameters

    • transactItems: TransactWriteItemList

      The items to write in the format [ { Put: { ... } }, ...]

    • Optional options: Partial<TransactWriteItemsInput>

      The options accepted by the original transactWrite method

    Returns Promise<PromiseResult<TransactWriteItemsOutput, AWSError>>

Generated using TypeDoc