Loop query

The following query parameters can be used for all loop types.

Limit item count

Use the count attribute to limit the total number of items.

Filter by field

Use the field attribute to filter items by field.

  • field - Field name by which to filter
  • field_value - Field value
  • field_compare - Comparison operator: equal, not, more_than, less_than, ..
  • field_type - Field type: string (default), number, date

Sort by field

Use the sort_field attribute to sort items by field.

  • sort_field - Field by which to sort
  • sort_order - Sort order - asc for ascending (default), or desc for descending
  • sort_type - Sort type - string (default), number, date