Type parameters
Hierarchy
-
Omit<SelectableQueryInitializer<TableInfo>,"visible"|"complete"|"require"> -
LogicalDomainInitializer<TableInfo> ↳CompleteQueryInitializer
Properties
take
• take: (n: number, options: ReadAvailabilityOptions) => Promise<ReadResult<DocumentByInfo<TableInfo>[]>>(n: number) => Promise<DocumentByInfo<TableInfo>[]>
Type declaration
▸ (n, options): Promise<ReadResult<DocumentByInfo<TableInfo>[]>>
Parameters
Returns
Promise<ReadResult<DocumentByInfo<TableInfo>[]>>
▸ (n): Promise<DocumentByInfo<TableInfo>[]>
Parameters
Returns
Promise<DocumentByInfo<TableInfo>[]>
Inherited from
Omit.takecollect
• collect: (options: ReadAvailabilityOptions) => Promise<ReadResult<DocumentByInfo<TableInfo>[]>>() => Promise<DocumentByInfo<TableInfo>[]>
Type declaration
▸ (options): Promise<ReadResult<DocumentByInfo<TableInfo>[]>>
Parameters
Returns
Promise<ReadResult<DocumentByInfo<TableInfo>[]>>
▸ (): Promise<DocumentByInfo<TableInfo>[]>
Returns
Promise<DocumentByInfo<TableInfo>[]>
Inherited from
Omit.collectfirst
• first: (options: ReadAvailabilityOptions) => Promise<ReadResult<null | DocumentByInfo<TableInfo>>>() => Promise<null | DocumentByInfo<TableInfo>>
Type declaration
▸ (options): Promise<ReadResult<null | DocumentByInfo<TableInfo>>>
Parameters
Returns
Promise<ReadResult<null | DocumentByInfo<TableInfo>>>
▸ (): Promise<null | DocumentByInfo<TableInfo>>
Returns
Promise<null | DocumentByInfo<TableInfo>>
Inherited from
Omit.firstunique
• unique: (options: ReadAvailabilityOptions) => Promise<ReadResult<null | DocumentByInfo<TableInfo>>>() => Promise<null | DocumentByInfo<TableInfo>>
Type declaration
▸ (options): Promise<ReadResult<null | DocumentByInfo<TableInfo>>>
Parameters
Returns
Promise<ReadResult<null | DocumentByInfo<TableInfo>>>
▸ (): Promise<null | DocumentByInfo<TableInfo>>
Returns
Promise<null | DocumentByInfo<TableInfo>>
Inherited from
Omit.uniquepaginate
• paginate: (paginationOpts: PaginationOptions, options: ReadAvailabilityOptions) => Promise<ReadResult<PaginationResult<DocumentByInfo<TableInfo>>>>(paginationOpts: PaginationOptions) => Promise<PaginationResult<DocumentByInfo<TableInfo>>>
Type declaration
▸ (paginationOpts, options): Promise<ReadResult<PaginationResult<DocumentByInfo<TableInfo>>>>
Parameters
Returns
Promise<ReadResult<PaginationResult<DocumentByInfo<TableInfo>>>>
▸ (paginationOpts): Promise<PaginationResult<DocumentByInfo<TableInfo>>>
Parameters
Returns
Promise<PaginationResult<DocumentByInfo<TableInfo>>>
Inherited from
Omit.paginateMethods
groupBy
▸ groupBy<Path>(field): SelectionAnalysis<TableInfo["fieldPaths"], true, false, false>
Group this selection’s samples by one record field.
Type parameters
Parameters
Returns
SelectionAnalysis<TableInfo["fieldPaths"], true, false, false>
Inherited from
Omit.groupBywindow
▸ window(spec): SelectionAnalysis<TableInfo["fieldPaths"], false, true, false>
Window this selection’s event time on a fixed-duration grid.
Parameters
Returns
SelectionAnalysis<TableInfo["fieldPaths"], false, true, false>
Inherited from
Omit.windowsignal
▸ signal(policy): SelectionAnalysis<TableInfo["fieldPaths"], false, false, true>
Interpret one series’ samples over the selection’s bounded interval.
Parameters
Returns
SelectionAnalysis<TableInfo["fieldPaths"], false, false, true>
Inherited from
Omit.signalexplain
▸ explain():ReadPath
Inspect the structural plan without consuming the query or deciding authority.
Returns
ReadPath
Inherited from
Omit.explainiterate
▸ iterate(options): AsyncIterableIterator<DocumentByInfo<TableInfo>, any, any>
Iterate with at most this many candidates per native index fetch (1–1024).
Use 1 when merging queues so unopened pages are not fetched speculatively.
Filters and access checks may require multiple fetches to yield one row.
Parameters
Returns
AsyncIterableIterator<DocumentByInfo<TableInfo>, any, any>
Inherited from
Omit.iterateaggregate
▸ aggregate<Measures, By>(measures, options?): AggregateResult<TableInfo, Measures, By>
Reduce the whole population before any limit or projection. Work and
authorization failures refuse the total rather than returning a partial value.
Type parameters
Parameters
Returns
AggregateResult<TableInfo, Measures, By>
Inherited from
Omit.aggregatereadPage
▸ readPage(options): Promise<QueryReadPage<DocumentByInfo<TableInfo>>>
Read one bounded traversal step. This does not register a reactive
page boundary; ordinary read dependencies and current access still apply.
Parameters
Returns
Promise<QueryReadPage<DocumentByInfo<TableInfo>>>
Inherited from
Omit.readPageselect
▸ select<Fields>(fields): ProjectedQuery<TableInfo, Fields, "strict">
See select.
Type parameters
Parameters
Returns
ProjectedQuery<TableInfo, Fields, "strict">
Inherited from
Omit.selectselectCells
▸ selectCells<Fields>(fields): ProjectedQuery<TableInfo, Fields, "visible">
See selectCells.
Type parameters
Parameters
Returns
ProjectedQuery<TableInfo, Fields, "visible">
Inherited from
Omit.selectCellswhere
▸ where(domain): LogicalQuery<TableInfo>
Read the population over these field equalities, in creation order
unless orderBy states another.
Parameters
Returns
LogicalQuery<TableInfo>
Inherited from
LogicalDomainInitializer.whereorderBy
▸ orderBy(field, order?): SelectableOrderedQuery<TableInfo>
Read the whole population in this logical order.
Parameters
Returns
SelectableOrderedQuery<TableInfo>
Inherited from
LogicalDomainInitializer.orderBywithBudget
▸ withBudget(budget): SelectableQuery<TableInfo>
Parameters
Returns
SelectableQuery<TableInfo>
Inherited from
Omit.withBudgetcollectWithDiagnostics
▸ collectWithDiagnostics():Promise<ReadReport<DocumentByInfo<TableInfo>, ReadUsage>>
Returns
Promise<ReadReport<DocumentByInfo<TableInfo>, ReadUsage>>
Inherited from
Omit.collectWithDiagnosticstakeWithDiagnostics
▸ takeWithDiagnostics(n): Promise<ReadReport<DocumentByInfo<TableInfo>, ReadUsage>>
Parameters
Returns
Promise<ReadReport<DocumentByInfo<TableInfo>, ReadUsage>>
Inherited from
Omit.takeWithDiagnosticsfilter
▸ filter(predicate): SelectableQueryInitializer<TableInfo> & { visible: never ; complete: never ; withAccessPath: never }
Parameters
Returns
SelectableQueryInitializer<TableInfo> & { visible: never ; complete: never ; withAccessPath: never }
Inherited from
Omit.filterorder
▸ order(order): SelectableOrderedQuery<TableInfo>
Parameters
Returns
SelectableOrderedQuery<TableInfo>
Inherited from
Omit.orderfullTableScan
▸ fullTableScan():SelectableQuery<TableInfo>
Returns
SelectableQuery<TableInfo>
Inherited from
Omit.fullTableScanwithSpatialIndex
▸ withSpatialIndex<Name, Range>(indexName, range): SpatialIndexQuery<TableInfo, Name, Range>
Read a spatial index: any equality prefix, or a complete partition
optionally restricted by one spatial operation.
Type parameters
Parameters
Returns
SpatialIndexQuery<TableInfo, Name, Range>
Inherited from
Omit.withSpatialIndex ▸ withSpatialIndex<Name>(indexName): SpatialIndexQuery<TableInfo, Name, SpatialRangeBuilder<DocumentByInfo<TableInfo>, SpatialPartitions<NamedIndex<TableInfo, Name>>, SpatialIndexField<NamedIndex<TableInfo, Name>>>>
Type parameters
Parameters
Returns
SpatialIndexQuery<TableInfo, Name, SpatialRangeBuilder<DocumentByInfo<TableInfo>, SpatialPartitions<NamedIndex<TableInfo, Name>>, SpatialIndexField<NamedIndex<TableInfo, Name>>>>
Inherited from
Omit.withSpatialIndexwithIndex
▸ withIndex<IndexName>(indexName, indexRange?): SelectableQuery<TableInfo>
Type parameters
Parameters
Returns
SelectableQuery<TableInfo>
Inherited from
Omit.withIndexwithSearchIndex
▸ withSearchIndex<IndexName>(indexName, searchFilter): SelectableOrderedQuery<TableInfo>
Type parameters
Parameters
Returns
SelectableOrderedQuery<TableInfo>
Inherited from
Omit.withSearchIndexrequire
▸ require(requirement): CompleteQueryInitializer<TableInfo>
Parameters
Returns
CompleteQueryInitializer<TableInfo>
[asyncIterator]
▸ [asyncIterator]():AsyncIterator<DocumentByInfo<TableInfo>, any, any>
Returns
AsyncIterator<DocumentByInfo<TableInfo>, any, any>