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

Cannot query collection with "-" in the name #68

Closed
marinabilles opened this issue Dec 31, 2015 · 0 comments
Closed

Cannot query collection with "-" in the name #68

marinabilles opened this issue Dec 31, 2015 · 0 comments

Comments

@marinabilles
Copy link

I am trying to run a query on a collection with the name mongo-test, and mongotron will automatically generate the following query for me:

db.mongo-test.find({

})

Then, it will complain that "Sorry, mongo is not a valid collection name" and not run any specified query. Changing the syntax to

db["mongo-test"].find({ ... })

doesn't work either, then it will complain this is not a valid query.

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

No branches or pull requests

2 participants