Appearance
Home > @liquidrazor/list-display > createQuerySource
createQuerySource() function
Creates a query-based data source (single-shot load + optional refresh).
Signature:
typescript
createQuerySource: <TRow = any, TRowId extends RowId = RowId>(options: QuerySourceOptions<TRow>) => DataSource<TRow, TRowId>Parameters
Parameter | Type | Description |
|---|---|---|
options | QuerySourceOptions<TRow> |
Returns:
DataSource<TRow, TRowId>