Skip to content

Documentation / @super-line/core / CollectionQuery

Interface: CollectionQuery ​

Defined in: packages/core/src/query.ts:42

What a client subscribes to. An empty query = the whole (ACL-visible) collection. orderBy/limit shape the initial snapshot only — the live phase streams every filter-matching change, and the consumer owns its window.

Properties ​

filter? ​

optional filter?: Expr

Defined in: packages/core/src/query.ts:43


limit? ​

optional limit?: number

Defined in: packages/core/src/query.ts:45


offset? ​

optional offset?: number

Defined in: packages/core/src/query.ts:46


orderBy? ​

optional orderBy?: OrderBy[]

Defined in: packages/core/src/query.ts:44

Released under the MIT License.