Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This is the documentation for ConfiForms Server/Data Center app

However, this might also work for ConfiForms cloud and in most cases it does. But please see this page to understand the differences between server and cloud versions of the ConfiForms app.


Using sorting and limiting the number of records returned

Supports ASC and DESC directions, syntax is similar to SQL syntax, and the ordering rules must be coma separated.

Order directions ASC and DESC are case-sensitive!

To limit the number of records returned a LIMIT operator is used.

  • Example: f1 ASC, f2 DESC - will sort the dataset by f1 field values in ASC order and by f2 in DESC order
  • Example2: f1 ASC, f2 DESC LIMIT 2 - will sort the dataset by f1 field values in ASC order and by f2 in DESC order and limit the number of records returned to 2
  • Example3: LIMIT 2 - will limit the number of records returned to 2
  • Example4: created DESC - will sort by record's date created in descending order
  • No labels