compound indexing and sort

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      I have three fields in a collection

      parent_id, name and types

      I will always lookup the collection by parent_id + name and/or types

      HOw should I create the compound index?

            Assignee:
            Unassigned
            Reporter:
            Wei Kong
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: