Open History to see the last commit
1---
2id: InjectQueryOptions
3title: InjectQueryOptions
4---
5β
6# Interface: InjectQueryOptions
7β
8Defined in: [inject-query.ts:20](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-query.ts#L20)
9β
10## Properties
11β
12### injector?
13β
14```ts
15optional injector: Injector;
16```
17β
18Defined in: [inject-query.ts:26](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-query.ts#L26)
19β
20The `Injector` in which to create the query.
21β
22If this is not provided, the current injection context will be used instead (via `inject`).