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}.
Public API
Section titled “Public API”query(DataQuery $query): array
Section titled “query(DataQuery $query): array”The matching page of rows for the query.
count(DataQuery $query): int
Section titled “count(DataQuery $query): int”The matching total for the query (for pagination).
record(int $id): ?array
Section titled “record(int $id): ?array”One record as label → value fields for the detail view, or null if absent/forbidden.