Skip to content

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
@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

2 participants