Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

InjectQueryOptions.md

14 lines600 Bytes

1---
2id: InjectQueryOptions
3title: InjectQueryOptions
4---
5​
6Defined in: [packages/angular-query-experimental/src/inject-query.ts:23](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-query.ts#L23)
7​
8Options for `injectQuery`, passed after the function that returns the query options.
9​
10## Properties
11​
12| Property | Type | Description |
13| ------ | ------ | ------ |
14| <a id="property-injector"></a> `injector?` | `Injector` | The `Injector` in which to create the query. If this is not provided, the current injection context will be used instead (via `inject`). |