Skip to content

Documentation / @super-line/client / CollectionSubView

Interface: CollectionSubView ​

Defined in: index.ts:295

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

Properties ​

n ​

n: string

Defined in: index.ts:297

Collection name.


query ​

query: CollectionQuery

Defined in: index.ts:301

The query IR this subscription was opened with.


rows ​

rows: unknown[]

Defined in: index.ts:303

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


settled ​

settled: boolean

Defined in: index.ts:305

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


sid ​

sid: number

Defined in: index.ts:299

The client-assigned subscription id.

Released under the MIT License.