# InjectQueryOptions

# Interface: InjectQueryOptions

Defined in: [inject-query.ts:20](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-query.ts#L20)

## Properties

### injector?

```ts
optional injector: Injector;
```

Defined in: [inject-query.ts:26](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-query.ts#L26)

The `Injector` in which to create the query.

If this is not provided, the current injection context will be used instead (via `inject`).
