> ## 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: GenericQueryCtx<DataModel>

> Not exported: an exported type refers to it.

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

Not exported: an exported type refers to it.

## Type parameters

| Name | Type |
| :- | :- |
| `DataModel` | extends [`GenericDataModel`](/api/modules/browser#genericdatamodel) |

## Properties

### db

• **db**: [`GenericDatabaseReader`](/api/interfaces/browser.GenericDatabaseReader)\<`DataModel`>

***

### auth

• **auth**: [`Auth`](/api/interfaces/browser.Auth)

***

### storage

• **storage**: [`StorageReader`](/api/interfaces/browser.StorageReader)

***

### runQuery

• **runQuery**: \<Query>(`query`: `Query`, ...`args`: [`ArgsAndOptions`](/api/modules/browser#argsandoptions)\<`Query`, \{ `transactionLimits?`: [`TransactionLimits`](/api/interfaces/browser.TransactionLimits)  }>) => `Promise`\<[`FunctionReturnType`](/api/modules/browser#functionreturntype)\<`Query`>>

#### Type declaration

▸ \<`Query`>(`query`, `...args`): `Promise`\<[`FunctionReturnType`](/api/modules/browser#functionreturntype)\<`Query`>>

##### Type parameters

| Name | Type |
| :- | :- |
| `Query` | extends [`FunctionReference`](/api/modules/browser#functionreference)\<`"query"`, `"public"` \| `"internal"`> \| [`FunctionReference_future`](/api/modules/browser#functionreference_future)\<`"query"`, `"public"` \| `"internal"`> |

##### Parameters

| Name | Type |
| :- | :- |
| `query` | `Query` |
| `...args` | [`ArgsAndOptions`](/api/modules/browser#argsandoptions)\<`Query`, \{ `transactionLimits?`: [`TransactionLimits`](/api/interfaces/browser.TransactionLimits)  }> |

##### Returns

`Promise`\<[`FunctionReturnType`](/api/modules/browser#functionreturntype)\<`Query`>>

***

### meta

• **meta**: [`QueryMeta`](/api/interfaces/browser.QueryMeta)


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