Skip to main content
Version: 4.5

Interface: FindOneOptions<T, P>#

core.FindOneOptions

Type parameters#

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

Hierarchy#

Properties#

cache#

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

Inherited from: void

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


convertCustomTypes#

Optional convertCustomTypes: boolean

Inherited from: void

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


disableIdentityMap#

Optional disableIdentityMap: boolean

Inherited from: void

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


fields#

Optional fields: (string | FieldsMap)[]

Inherited from: void

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


filters#

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

Inherited from: void

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


flags#

Optional flags: QueryFlag[]

Inherited from: void

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


groupBy#

Optional groupBy: string | string[]

Inherited from: void

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


having#

Optional having: FilterQuery<T> | FilterQuery<T> & Dictionary<any>

Inherited from: void

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


lockMode#

Optional lockMode: LockMode

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


lockVersion#

Optional lockVersion: number | Date

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


orderBy#

Optional orderBy: QueryOrderMap

Inherited from: void

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


populate#

Optional populate: P

Inherited from: void

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


refresh#

Optional refresh: boolean

Inherited from: void

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


schema#

Optional schema: string

Inherited from: void

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


strategy#

Optional strategy: LoadStrategy

Inherited from: void

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

Last updated on by Renovate Bot