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