Skip to main content

records_value

Function records_value 

Source
pub fn records_value(
    rows: &[RecordRowRef<'_>],
    query: &RecordsQuery,
    ctx: RecordsContext<'_>,
) -> Option<Value>
Expand description

The value a records binding emits for query over rows (every row of the app, any kind): None without a kind; else {rows, count, sum?, month?, groups?, totals?, before?}: the matches sorted (ties by id) then cut at the limit, count and sum before the limit.