Browse requests can be composed out of a set of parameters:
fields
filter
order
limit
&page
include
These translate down to a set of query modifiers
columns
where
join
order
group
&having
limit
&offset
The translations are as follows:
fields
translates 1:1 tocolumns
filter
translates mostly to where clauses, but complex filters can also add join, group, having and order modifiersorder
translates mostly to an order, but it may require complex subqueries or joins?limit
&page
translate tolimit
&offset
include
affects queries made in addition to the main query, except forcount
includes, which work slightly differently
Note: Permissions need to be applied to a browse request whenever a join or an include is made.
Makes perfect sense.
I can't think of a case where
order
would require complex subqueries or joins. Can you think of a use case?