Skip to content

mongo: modify ListCollectionNames and ListCollectionNames #3312

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

Merged
merged 1 commit into from
Aug 5, 2025

Conversation

jgao54
Copy link
Contributor

@jgao54 jgao54 commented Aug 5, 2025

  • filter out view and system.views tables when calling ListCollectionNames
  • use regex for ListDatabaseNames, because older version of Mongo Atlas seem to complain when array is passed in:
    Expected user provided "name" field in filter to be regex or string was primitive.D instead [log where this was detected]
  • always sort the database/collection

Tested this locally e2e with views.

@jgao54 jgao54 requested a review from ilidemi August 5, 2025 00:03
@jgao54 jgao54 merged commit 5075f49 into main Aug 5, 2025
14 of 20 checks passed
@jgao54 jgao54 deleted the fix-list-schema-table branch August 5, 2025 01:07
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