Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support TransactWriteItems across multiple tables/record types #60

Open
samritchie opened this issue Oct 11, 2022 · 0 comments
Open

Support TransactWriteItems across multiple tables/record types #60

samritchie opened this issue Oct 11, 2022 · 0 comments

Comments

@samritchie
Copy link
Collaborator

See discussion in #59 - there would be value in supporting transactional writes across multiple tables (or contexts in the case of multiple single-table contexts).

Probably the main question here is around the 'base' context - eg the below suggested design approach from @bartelink:

let dynamo : DynamoContext = DynamoContext(client : IAmazonDynamoDB, ?metricsCollector : RequestMetrics -> unit)
let! residual = dynamo.Batch.Write( [contextFoo.Batch.Put fooItems; contextBar.Batch.Put barItems])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant