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

Kotlin class support for findOneAndUpdate in CoroutineCollection #396

Merged
merged 1 commit into from
Apr 3, 2023

Conversation

lalnuo
Copy link
Contributor

@lalnuo lalnuo commented Feb 12, 2023

This PR adds support for the following methods in the CoroutineCollection

suspend fun findOneAndUpdate(
        filter: Bson,
        update: T,
        options: FindOneAndUpdateOptions = FindOneAndUpdateOptions()
): T?


suspend fun findOneAndUpdate(
        clientSession: ClientSession,
        filter: Bson,
        update: T,
        options: FindOneAndUpdateOptions = FindOneAndUpdateOptions()
): T?

@zigzago
Copy link
Member

zigzago commented Apr 3, 2023

Thank you !

@zigzago zigzago merged commit 4e6bfa2 into Litote:master Apr 3, 2023
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