Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

sort (optional)
A string representing a MongoDB sort operator (in JSON format). WARNING: for large custom tables, will be really slow or fail unless the field (/fields) is (/are) indexed via "$output.indexes" or "$output.sortField" (see Schedule Job API call)

Info

You can always use sort={_id:1} or sort={_id:-1} to view the first or last records.

limit (optional)
An integer of how many results you want retrieved from the database, results will be grabbed in whatever order they have been stored in the db.

...