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.
Properties
Section titled “Properties”hydrate?
Section titled “hydrate?”
optionalhydrate?: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.
Default
Section titled “Default”falserefresh?
Section titled “refresh?”
optionalrefresh?: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.
Default
Section titled “Default”false