Skip to content

routier-collection


routier-collection / datastore/src / InspectedCollection

Interface: InspectedCollection ​

Defined in: datastore/src/inspection/types.ts:25

Properties ​

name ​

readonly name: string

Defined in: datastore/src/inspection/types.ts:26


schemaId ​

readonly schemaId: SchemaId

Defined in: datastore/src/inspection/types.ts:27


kind ​

readonly kind: InspectedCollectionKind

Defined in: datastore/src/inspection/types.ts:28

Methods ​

count() ​

count(): Promise<number>

Defined in: datastore/src/inspection/types.ts:29

Returns ​

Promise<number>


keyOf() ​

keyOf(row): string

Defined in: datastore/src/inspection/types.ts:30

Parameters ​

row ​

InspectedRow

Returns ​

string


watchCount() ​

watchCount(onCount): StopWatching

Defined in: datastore/src/inspection/types.ts:31

Parameters ​

onCount ​

(result) => void

Returns ​

StopWatching


watchPage() ​

watchPage(page, onRows): StopWatching

Defined in: datastore/src/inspection/types.ts:32

Parameters ​

page ​

InspectedPageRequest

onRows ​

(result) => void

Returns ​

StopWatching

Released under the MIT License.