Open History to see the last commit
1---
2id: InjectQueryOptions
3title: InjectQueryOptions
4---
5β
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7β
8Defined 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)
9β
10Options for `injectQuery`, passed after the function that returns the query options.
11β
12## Properties
13β
14| Property | Type | Description |
15| ------ | ------ | ------ |
16| <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`). |