Skip to content

Documentation / @super-line/client / CollectionSubView

Interface: CollectionSubView

Defined in: index.ts:291

One live collection subscription, carrying the rows the client is actually holding.

Properties

n

n: string

Defined in: index.ts:293

Collection name.


query

query: CollectionQuery

Defined in: index.ts:297

The query IR this subscription was opened with.


rows

rows: unknown[]

Defined in: index.ts:299

The ordered, limited view — the client's own truth, not a reconstruction of it.


settled

settled: boolean

Defined in: index.ts:301

false until the initial snapshot has landed; changes arriving before that are buffered.


sid

sid: number

Defined in: index.ts:295

The client-assigned subscription id.

Released under the MIT License.