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

Add non-polymorphic transactWrite APIs #23

Merged
merged 1 commit into from
Sep 14, 2024
Merged

Conversation

tachyonics
Copy link
Collaborator

Issue #, if available:

Description of changes: Add transactWrite APIs to provide non-polymorphic bulk APIs executed within a transaction. This API family is missing, requiring users who want to use transactions to use the polymorphicTransactWrite API family.

This new API family provides a simpler API to the existing family (themselves also recently renamed from transactWrite in #22 to preference non-polymorphic APIs) and to match the existing pattern of bulkWrite and polymorphicBulkWrite API families that provide non-polymorphic and polymorphic bulk APIs not using a transaction respectively.

Most of the code added mirrors that backing the polymorphicTransactWrite API adjusted to handle a single type.

Added unit tests to mirror those existing for polymorphicTransactWrite.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tachyonics tachyonics merged commit 3501167 into main Sep 14, 2024
5 checks passed
@tachyonics tachyonics deleted the sp_transact_write_apis branch September 14, 2024 05:39
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

Successfully merging this pull request may close these issues.

1 participant