> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: ProjectedOrderedQuery<TableInfo, Fields>

> Not exported: an exported type refers to it.

[browser](/api/modules/browser).ProjectedOrderedQuery

Not exported: an exported type refers to it.

## Type parameters

| Name | Type |
| :- | :- |
| `TableInfo` | extends [`GenericTableInfo`](/api/modules/browser#generictableinfo) |
| `Fields` | extends `string` |

## Hierarchy

* `AsyncIterable`\<[`SelectedDocument`](/api/modules/browser#selecteddocument)\<[`DocumentByInfo`](/api/modules/browser#documentbyinfo)\<`TableInfo`>, `Fields`>>

  ↳ **`ProjectedOrderedQuery`**

  ↳↳ [`ProjectedQuery`](/api/interfaces/browser.ProjectedQuery)

## Methods

### filter

▸ **filter**(`predicate`): [`ProjectedOrderedQuery`](/api/interfaces/browser.ProjectedOrderedQuery)\<`TableInfo`, `Fields`>

#### Parameters

| Name | Type |
| :- | :- |
| `predicate` | (`q`: [`FilterBuilder`](/api/interfaces/browser.FilterBuilder)\<`TableInfo`>) => [`ExpressionOrValue`](/api/modules/browser#expressionorvalue)\<`boolean`> |

#### Returns

[`ProjectedOrderedQuery`](/api/interfaces/browser.ProjectedOrderedQuery)\<`TableInfo`, `Fields`>

***

### limit

▸ **limit**(`n`): [`ProjectedOrderedQuery`](/api/interfaces/browser.ProjectedOrderedQuery)\<`TableInfo`, `Fields`>

#### Parameters

| Name | Type |
| :- | :- |
| `n` | `number` |

#### Returns

[`ProjectedOrderedQuery`](/api/interfaces/browser.ProjectedOrderedQuery)\<`TableInfo`, `Fields`>

***

### paginate

▸ **paginate**(`paginationOpts`): `Promise`\<[`PaginationResult`](/api/interfaces/browser.PaginationResult)\<[`SelectedDocument`](/api/modules/browser#selecteddocument)\<[`DocumentByInfo`](/api/modules/browser#documentbyinfo)\<`TableInfo`>, `Fields`>>>

#### Parameters

| Name | Type |
| :- | :- |
| `paginationOpts` | [`PaginationOptions`](/api/interfaces/browser.PaginationOptions) |

#### Returns

`Promise`\<[`PaginationResult`](/api/interfaces/browser.PaginationResult)\<[`SelectedDocument`](/api/modules/browser#selecteddocument)\<[`DocumentByInfo`](/api/modules/browser#documentbyinfo)\<`TableInfo`>, `Fields`>>>

***

### collect

▸ **collect**(): `Promise`\<[`SelectedDocument`](/api/modules/browser#selecteddocument)\<[`DocumentByInfo`](/api/modules/browser#documentbyinfo)\<`TableInfo`>, `Fields`>\[]>

#### Returns

`Promise`\<[`SelectedDocument`](/api/modules/browser#selecteddocument)\<[`DocumentByInfo`](/api/modules/browser#documentbyinfo)\<`TableInfo`>, `Fields`>\[]>

***

### take

▸ **take**(`n`): `Promise`\<[`SelectedDocument`](/api/modules/browser#selecteddocument)\<[`DocumentByInfo`](/api/modules/browser#documentbyinfo)\<`TableInfo`>, `Fields`>\[]>

#### Parameters

| Name | Type |
| :- | :- |
| `n` | `number` |

#### Returns

`Promise`\<[`SelectedDocument`](/api/modules/browser#selecteddocument)\<[`DocumentByInfo`](/api/modules/browser#documentbyinfo)\<`TableInfo`>, `Fields`>\[]>

***

### first

▸ **first**(): `Promise`\<`null` | [`SelectedDocument`](/api/modules/browser#selecteddocument)\<[`DocumentByInfo`](/api/modules/browser#documentbyinfo)\<`TableInfo`>, `Fields`>>

#### Returns

`Promise`\<`null` | [`SelectedDocument`](/api/modules/browser#selecteddocument)\<[`DocumentByInfo`](/api/modules/browser#documentbyinfo)\<`TableInfo`>, `Fields`>>

***

### unique

▸ **unique**(): `Promise`\<`null` | [`SelectedDocument`](/api/modules/browser#selecteddocument)\<[`DocumentByInfo`](/api/modules/browser#documentbyinfo)\<`TableInfo`>, `Fields`>>

#### Returns

`Promise`\<`null` | [`SelectedDocument`](/api/modules/browser#selecteddocument)\<[`DocumentByInfo`](/api/modules/browser#documentbyinfo)\<`TableInfo`>, `Fields`>>

***

### \[asyncIterator]

▸ **\[asyncIterator]**(): `AsyncIterator`\<[`SelectedDocument`](/api/modules/browser#selecteddocument)\<[`DocumentByInfo`](/api/modules/browser#documentbyinfo)\<`TableInfo`>, `Fields`>, `any`, `undefined`>

#### Returns

`AsyncIterator`\<[`SelectedDocument`](/api/modules/browser#selecteddocument)\<[`DocumentByInfo`](/api/modules/browser#documentbyinfo)\<`TableInfo`>, `Fields`>, `any`, `undefined`>

#### Inherited from

AsyncIterable.\[asyncIterator]


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.