Expand description
The data grid query engine: filter → search → sort → group → summarize. Pure functions over rows, independent of the UI.
Structs§
- Grid
Query - What the user asked the grid to show.
- Grid
Table - The rows of a grid as it stands: the columns showing, the rows matching, in order.
- Grid
Table Column - A column of a
GridTable. - Query
Result - The output of
run_query: what the grid shows.
Enums§
- Grid
Export Format - A file format of a grid’s Export menu.
- Grid
Table Kind - What a column holds, for a file to show it well.
- ViewRow
- A visible row of the grid: a group header or a data row.
Functions§
- check_
formula - A formula read and checked against the columns, or what is wrong with it.
- formula_
value - What a formula comes to over these rows.
- group_
keys - Every group’s key under this query, as if all were open: what collapsing all of them means.
- matches_
filter - Does
value(shown asdisplay) pass a filter-row expression? - run_
query - Runs the whole pipeline.
- to_csv
- Matching rows as CSV (RFC 4180), visible columns only, in display order.
- to_
table - Takes what the grid shows into a table for a file. A column with a format of its own goes as the text it shows, since only that format knows what it means.
- to_tsv
- Rows as tab-separated text, the way spreadsheets copy and paste: the
shown (formatted) values of the
visiblecolumns, no header.