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