Skip to content
Corex

QueryableDataSource

Corex\Config\Data\QueryableDataSource · interface · Config layer

A {@see DataSource} that can answer a {@see DataQuery} — search / filter / sort / paginate — and return a single record for the detail view (spec 045). Sources that support it (form submissions) implement this; the Data screen uses the query path when a source is queryable and falls back to plain pagination otherwise (OCP — the existing DataSource and its consumers are unchanged). Neither shape here is what an export writes: query() answers the table’s rows, keyed by column, and record() answers the detail view. A source that can be exported says what an export row is through {@see ExportableDataSource}.

The matching page of rows for the query.

The matching total for the query (for pagination).

One record as label → value fields for the detail view, or null if absent/forbidden.