Skip to main content
Version: 4.4

Interface: FindOneOrFailOptions<T, P>#

core.FindOneOrFailOptions

Type parameters#

NameTypeDefault
T--
PPopulate<T>Populate<T\>

Hierarchy#

Properties#

cache#

Optional cache: undefined | number | boolean | [string, number]

Inherited from: FindOneOptions.cache

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:85


convertCustomTypes#

Optional convertCustomTypes: undefined | boolean

Inherited from: FindOneOptions.convertCustomTypes

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:89


disableIdentityMap#

Optional disableIdentityMap: undefined | boolean

Inherited from: FindOneOptions.disableIdentityMap

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:90


failHandler#

Optional failHandler: undefined | (entityName: string, where: any) => Error

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:106


fields#

Optional fields: undefined | (string | FieldsMap)[]

Inherited from: FindOneOptions.fields

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:91


filters#

Optional filters: undefined | boolean | string[] | Dictionary<boolean | Dictionary<any>>

Inherited from: FindOneOptions.filters

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:97


flags#

Optional flags: undefined | QueryFlag[]

Inherited from: FindOneOptions.flags

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:93


groupBy#

Optional groupBy: undefined | string | string[]

Inherited from: FindOneOptions.groupBy

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:94


having#

Optional having: undefined | { __@PrimaryKeyType@41543?: any } | { __@PrimaryKeyType@41543?: any } & Dictionary<any> | NonNullable<Query<T>> | NonNullable<Query<T>> & Dictionary<any>

Inherited from: FindOneOptions.having

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:95


lockMode#

Optional lockMode: undefined | NONE | OPTIMISTIC | PESSIMISTIC_READ | PESSIMISTIC_WRITE

Inherited from: FindOneOptions.lockMode

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:101


lockVersion#

Optional lockVersion: undefined | number | Date

Inherited from: FindOneOptions.lockVersion

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:102


orderBy#

Optional orderBy: undefined | QueryOrderMap

Inherited from: FindOneOptions.orderBy

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:84


populate#

Optional populate: undefined | P

Inherited from: FindOneOptions.populate

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:83


refresh#

Optional refresh: undefined | boolean

Inherited from: FindOneOptions.refresh

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:88


schema#

Optional schema: undefined | string

Inherited from: FindOneOptions.schema

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:92


strategy#

Optional strategy: undefined | SELECT_IN | JOINED

Inherited from: FindOneOptions.strategy

Defined in: packages/core/src/drivers/IDatabaseDriver.ts:96

Last updated on by renovate[bot]