Synchronous write operation that groups up to 25 action requests by delegating to DocumentClient.transactWrite.
DocumentClient.transactWrite
You can use the transactItem helper to create the request items.
import { transactItem as tr } from 'dynamo-facade-v2';df.transactWrite([ tr.put('movies', { actor: 'Tom Hanks', movie: 'Toy Story' }])
The same response returned by transactWrite().promise()
transactWrite().promise()
The items to write in the format [ { Put: { ... } }, ...]
[ { Put: { ... } }, ...]
Optional
The options accepted by the original transactWrite method
transactWrite
Generated using TypeDoc
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
Returns
The same response returned by
transactWrite().promise()