pub fn build_select_query(
table: &str,
columns: &[ColumnDef],
constraint: Option<&Constraint>,
multi_constraints: &[MultiConstraint],
filters: Option<&SqlCondition>,
order: Option<&Sort>,
reverse: bool,
start: Option<&Start>,
) -> CompiledQueryExpand description
Lower a FetchRequest’s pushed-down parts (+ connection filter + sort) to a
parameterized SELECT. The arg grouping is regrouped from the JS for
readability; the clause-emission order is fixed (constraint →
multiConstraints → start → filters → ORDER BY) so the ? slots and params
stay aligned (05 §4.4).