You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the highest level we can do transactions in onetable is on a table: await table.transact('write', transaction);
However, DynamoDB supports a transaction operation that can write/get from multiple tables at once:
TransactItems
An ordered array of up to 100 TransactWriteItem objects, each of which contains a ConditionCheck, Put, Update, or Delete object. These can operate on items in different tables, but the tables must reside in the same AWS account and Region, and no two of them can operate on the same item.
Can this be supported in dynamodb-onetable?
For a bit of context:
I'm currently following single table design principles, however for infrastructure reasons I have multiple tables. Hopefully others have the same issue. The API is great as is, however this would be a massive plus.
The text was updated successfully, but these errors were encountered:
AaronFinn95
changed the title
Feature: Support transactional operations from multiple tables at once
Feature: Support a transactional operation from multiple tables at once
Jan 30, 2023
Currently the highest level we can do transactions in onetable is on a table:
await table.transact('write', transaction);
However, DynamoDB supports a transaction operation that can write/get from multiple tables at once:
Can this be supported in dynamodb-onetable?
For a bit of context:
I'm currently following single table design principles, however for infrastructure reasons I have multiple tables. Hopefully others have the same issue. The API is great as is, however this would be a massive plus.
The text was updated successfully, but these errors were encountered: