Skip to content

How to Debug Indexes #1996

Description

@jgaull

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.

Activity

  1. fisterryan commented on Jun 7, 2016

    @fisterryan

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

    Thanks!

  2. drew-gross commented on Jun 7, 2016

    @drew-gross
    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.

  3. jgaull commented on Jun 7, 2016

    @jgaull
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions