Sorting
In this section, we'll explore how to use server-side sorting to sort your query result set. All sorting is done over the entire query result set, server-side by the Flipside Query Engine.
Server-side result sorting is especially useful for large result sets where your client-side environment may be memory/resource constrained.
Building off the example from the previous section let's sort our results in descending order by price_usd
descending.
Valid directions include desc
and asc
. You may also sort by multiple columns. The order you provide the sort by objects determines which sort by object takes precedence.
The following example will first sort results in descending order by price_usd
and then in ascending order by project_name
.
In the next section, we'll walk thru how to perform server-side filtering of your query result set.
Last updated