Skip to content

Add Kotlin Bulk Write API#1591

Merged
vbabanin merged 5 commits intomongodb:JAVA-4586_bulk-writefrom
vbabanin:JAVA-5532
Jan 3, 2025
Merged

Add Kotlin Bulk Write API#1591
vbabanin merged 5 commits intomongodb:JAVA-4586_bulk-writefrom
vbabanin:JAVA-5532

Conversation

@vbabanin
Copy link
Copy Markdown
Member

@vbabanin vbabanin commented Jan 2, 2025

  • Add sync and coroutine Bulk Write API.
  • Enable unified spec tests.

Primary review: @katcharov
Secondary (optional): @stIncMale

JAVA-5532

- Add sync and coroutine Bulk Write API.
- Enable unified spec tests.

JAVA-5532
@vbabanin vbabanin self-assigned this Jan 2, 2025
Comment on lines +320 to +322
* Executes a client-level bulk write operation. This method is functionally equivalent to
* [bulkWrite(models, options)][bulkWrite] with the
* [default options][ClientBulkWriteOptions.clientBulkWriteOptions].
Copy link
Copy Markdown
Member Author

@vbabanin vbabanin Jan 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kotlin does not support referencing methods with parameters, as noted here: KT-15984 and in their Kotlin Documentation.

Note that KDoc does not have any syntax for resolving overloaded members in links. Since Kotlin's documentation generation tool puts the documentation for all overloads of a function on the same page, identifying a specific overloaded function is not required for the link to work.

Therefore, links in KDoc are written with additional descriptive text to clarify the context of the reference.

@vbabanin vbabanin marked this pull request as ready for review January 3, 2025 06:56
Copy link
Copy Markdown
Collaborator

@katcharov katcharov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I did not check or diff the docs, since they were pasted in.

@vbabanin vbabanin merged commit 397cd1d into mongodb:JAVA-4586_bulk-write Jan 3, 2025
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.

2 participants