-
Notifications
You must be signed in to change notification settings - Fork 410
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
Allow filtering by name in ListDatabases
and ListCollections
#3851
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left question post self review.
ListDatabases
and ListCollections
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #3851 +/- ##
==========================================
- Coverage 74.98% 73.94% -1.05%
==========================================
Files 330 330
Lines 25676 25722 +46
==========================================
- Hits 19254 19020 -234
- Misses 5258 5569 +311
+ Partials 1164 1133 -31
... and 14 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
Head branch was pushed to by a user without write access
fixed test , broken while fixing the linting. |
Head branch was pushed to by a user without write access
Hi @AlekSi , |
Thank you! |
Description
Refactor ListDatabases and ListCollections , to retrieve the DB names and collection names by name.
This is needed to combine multiple functionalities to one.
Note :
internal/backends/backend.go, internal/backends/database.go have a commented code. I consider it candidate for removal, since it's redundant. Kindly provide opinion.
Closes #3601
Readiness checklist
task all
, and it passed.@FerretDB/core
), Milestone (Next
), Labels, Project and project's Sprint fields.