Matthew Strickland
unread,May 10, 2011, 9:18:24 PM5/10/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
The documentation says:
If you have a compound index on multiple fields, you can use it to
query on the beginning subset of fields. So if you have an index on
a,b,c
you can use it query on
a
a,b
a,b,c
My question is, if I have a compound index like
a,b,c
can I query on
a,c
and sort on c?