Skip to content

IQueryOptions

Defined in: packages/ddd-core/application/query.options.ts:8

Metadata understood by DDD query repositories and read-through cache helpers.

Query implementations normally inherit this through BaseQuery.

optional hydrate?: boolean

Defined in: packages/ddd-core/application/query.options.ts:15

Query metadata for repositories that read it. FromCache does not: it rehydrates every hit whenever a hydrator applies.

false

optional refresh?: boolean

Defined in: packages/ddd-core/application/query.options.ts:23

Bypass read-through cache lookup and fill, forcing an authoritative read directly from underlying persistence.

false