• Atomically retrieves multiple items from one or more tables (but not from indexes) in a single account and region by delegating to DocumentClient.transactGet.

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

    Example

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

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

    Returns

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

    Parameters

    • transactItems: TransactGetItemList

      The items to get in the format [{ Get: { TableName: ..., Key: ... } }, ...]

    • Optional options: Partial<TransactGetItemsInput>

      The options accepted by the original transactGet method

    Returns Request<TransactGetItemsOutput, AWSError>

Generated using TypeDoc