> ## 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: ScopedQueryInitializer<TableInfo>

> Reference for the ScopedQueryInitializer interface in bijection/server.

[server](https://docs.bijection.com/api/modules/server).ScopedQueryInitializer

## Type parameters

| Name | Type |
| :- | :- |
| `TableInfo` | extends [`GenericTableInfo`](https://docs.bijection.com/api/modules/server#generictableinfo) |

## Methods

### withAccess

▸ **withAccess**(`options`): [`SetQuery`](https://docs.bijection.com/api/interfaces/server.SetQuery)\<`TableInfo`>

#### Parameters

| Name | Type |
| :- | :- |
| `options` | `Object` |
| `options.selection` | `Exclude`\<[`AccessSelection`](https://docs.bijection.com/api/modules/server#accessselection)\<`Extract`\<[`IndexNames`](https://docs.bijection.com/api/modules/server#indexnames)\<`TableInfo`>, `string`>>, \{ `mode`: `"source"`  }> |
| `options.fallback?` | `"refuse"` \| `"partitionScan"` |
| `options.budget?` | [`ReadWorkBudget`](https://docs.bijection.com/api/modules/server#readworkbudget) |

#### Returns

[`SetQuery`](https://docs.bijection.com/api/interfaces/server.SetQuery)\<`TableInfo`>


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