Skip to main content

Type Alias: QueryOptions

QueryOptions: {disabledConditions: "all" | readonly string[]; }

Settings that affect the behaviour of individual queries, such as disabling default entity query conditions. Used in conjunction with the RootQueryOperations.options query operator.

Type declaration

disabledConditions?

optional disabledConditions: "all" | readonly string[]

Disables entity query conditions for the query.

Example

// Disable the default "soft delete" condition for the query.
const q =
db.from.products.options({ disabledConditions: ["soft delete"] });

Defined in

packages/verse-core/src/verse.ts:134