Type parameters
Hierarchy
-
AsyncIterable<SelectedDocument<DocumentByInfo<TableInfo>,Fields>> ↳ProjectedOrderedQuery↳↳ProjectedQuery
Methods
filter
▸ filter(predicate): ProjectedOrderedQuery<TableInfo, Fields>
Parameters
Returns
ProjectedOrderedQuery<TableInfo, Fields>
limit
▸ limit(n): ProjectedOrderedQuery<TableInfo, Fields>
Parameters
Returns
ProjectedOrderedQuery<TableInfo, Fields>
paginate
▸ paginate(paginationOpts): Promise<PaginationResult<SelectedDocument<DocumentByInfo<TableInfo>, Fields>>>
Parameters
Returns
Promise<PaginationResult<SelectedDocument<DocumentByInfo<TableInfo>, Fields>>>
collect
▸ collect():Promise<SelectedDocument<DocumentByInfo<TableInfo>, Fields>[]>
Returns
Promise<SelectedDocument<DocumentByInfo<TableInfo>, Fields>[]>
take
▸ take(n): Promise<SelectedDocument<DocumentByInfo<TableInfo>, Fields>[]>
Parameters
Returns
Promise<SelectedDocument<DocumentByInfo<TableInfo>, Fields>[]>
first
▸ first():Promise<null | SelectedDocument<DocumentByInfo<TableInfo>, Fields>>
Returns
Promise<null | SelectedDocument<DocumentByInfo<TableInfo>, Fields>>
unique
▸ unique():Promise<null | SelectedDocument<DocumentByInfo<TableInfo>, Fields>>
Returns
Promise<null | SelectedDocument<DocumentByInfo<TableInfo>, Fields>>
[asyncIterator]
▸ [asyncIterator]():AsyncIterator<SelectedDocument<DocumentByInfo<TableInfo>, Fields>, any, undefined>
Returns
AsyncIterator<SelectedDocument<DocumentByInfo<TableInfo>, Fields>, any, undefined>