Atomically retrieves multiple items from one or more tables (but not from indexes) in a single account and region by delegating to DocumentClient.transactGet.
DocumentClient.transactGet
You can use the transactItem helper to create the request items.
import { transactItem as tr } from 'dynamo-facade-v2';df.transactGet([ tr.get('movies', { actor: 'Tom Hanks', movie: 'Toy Story' }])
The same response returned by transactGet().promise()
transactGet().promise()
The items to get in the format [{ Get: { TableName: ..., Key: ... } }, ...]
[{ Get: { TableName: ..., Key: ... } }, ...]
Optional
The options accepted by the original transactGet method
transactGet
Generated using TypeDoc
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
Returns
The same response returned by
transactGet().promise()