Skip to content

Documentation / @super-line/core / CollectionQuery

Interface: CollectionQuery

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

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:40


limit?

optional limit?: number

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


offset?

optional offset?: number

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


orderBy?

optional orderBy?: OrderBy[]

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

Released under the MIT License.