You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 10, 2018. It is now read-only.
Michael Comella edited this page May 12, 2013
·
6 revisions
This object enumerates the methods that will be applied to the cursor before
the query's result set is returned. The keys of this object are method names
from the JavaScript cursor API and the associated values are objects
representing the arguments to those functions. The keys of this argument object
are parameter names and the values are the parameters' values. Methods for
missing keys will not be called. Supported operations are as follows (each
bullet point is a key):
sort :: cursor.sort(sort) :: Control the order that the
query returns matching documents.
sort: A document whose fields specify the attributes on which to sort
the result set.