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

Batch Request Inquiry #56

Closed
switchupcb opened this issue Mar 5, 2022 · 1 comment
Closed

Batch Request Inquiry #56

switchupcb opened this issue Mar 5, 2022 · 1 comment

Comments

@switchupcb
Copy link

Does this use a batch request? There isn't any reference to one.

@fr33r
Copy link
Contributor

fr33r commented Sep 16, 2022

hey @switchupcb!

shame on me for taking so long to get back to you! you likely either already found your answer or moved on, but i'm going to revive your issue anyway!

Does this use a batch request?

yes. the work unit passes along all inserts, updates, and deletions of a specific type at once to the corresponding data mapper. it's up to the consumer of the library to write / adapt a data mapper that then takes those batches and perform the appropriate actions for whatever downstream store being used (SQL database, API, etc.).

There isn't any reference to one.

the README.md demonstrates usage of the variadic parameters, but i agree it could be more explicit and indicate that all of the inserts, updates, and deletions are passed at once. i'll create an issue to update the README.md.

appreciate the reach out! and again, apologies for not responding quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants