views
Named SELECTs used by routes.
| key | description |
|---|---|
| table, select | source table and column list; include the id column if the view is a paginated list |
| fixed_filter | WHERE conditions baked into the config (string/int/bool values). This documentation uses published=1 |
| filter_by | columns filterable from the URL — a path parameter or query string; the column needs index:true or type id. The group pages of this site filter articles by the indexed grp column |
| order | list of {col, dir asc|desc}; for list views order[0] must be the id column; default is id DESC (newest first) |
| limit | present (1..1000) — a list with cursor pagination (?cursor=..., next_cursor in the template context); absent — a single row, and all filter_by become required |