Skip to content

How to Debug Indexes #1996

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

Closed
jgaull opened this issue Jun 7, 2016 · 3 comments
Closed

How to Debug Indexes #1996

jgaull opened this issue Jun 7, 2016 · 3 comments

Comments

@jgaull
Copy link

jgaull commented Jun 7, 2016

My team and I are super happy with our parse-server hosted on Heroku! We're starting to move forward with new features. This means new queries and new indexes. I have two questions:

  1. How can I view the output of cursor.explain() to debug my queries?
  2. How does parse-server determine the order keys are added to queries? I've read that this is important. Is it the same order that I called functions like equalTo(), greaterThan(), containedIn(), etc?

Thanks for your help.

@fisterryan
Copy link

I would also like to know the answers to the questions above.

Thanks!

@drew-gross
Copy link
Contributor

For now you will have to go into the mongo logs directly to find query explanations, as we don't expose these in Parse Server. The key order shouldn't matter.

@jgaull
Copy link
Author

jgaull commented Jun 7, 2016

Thanks @drew-gross! I'll take a look.

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

3 participants