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

RUST-1652 Add a find_one method to GridFsBucket #1015

Merged
merged 5 commits into from
Jan 25, 2024

Conversation

kkloberdanz
Copy link
Contributor

No description provided.

This also creates a new struct GridFsFindOneOptions, which is used to
pass options to the new find_one method.
Convert calls to GridFsBucket.files().find_one() to the equivalent call
to GridFsBucket.find_one()
Copy link
Contributor

@abr-egn abr-egn left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@isabelatkinson isabelatkinson left a comment

Choose a reason for hiding this comment

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

just two small suggestions, otherwise looks good! feel free to merge after applying changes

src/gridfs.rs Outdated Show resolved Hide resolved
src/test/spec/gridfs.rs Outdated Show resolved Hide resolved
kkloberdanz and others added 2 commits January 25, 2024 11:01
Co-authored-by: Isabel Atkinson <isabelatkinson@gmail.com>
@kkloberdanz kkloberdanz merged commit 7f0d356 into mongodb:main Jan 25, 2024
16 checks passed
@kkloberdanz kkloberdanz deleted the RUST-1652 branch January 25, 2024 20:05
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.

3 participants