Skip to main content
Version: Next

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: Omit.cache

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


convertCustomTypes#

Optional convertCustomTypes: boolean

Inherited from: Omit.convertCustomTypes

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


disableIdentityMap#

Optional disableIdentityMap: boolean

Inherited from: Omit.disableIdentityMap

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


fields#

Optional fields: (string | FieldsMap)[]

Inherited from: Omit.fields

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


filters#

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

Inherited from: Omit.filters

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


flags#

Optional flags: QueryFlag[]

Inherited from: Omit.flags

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


groupBy#

Optional groupBy: string | string[]

Inherited from: Omit.groupBy

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


having#

Optional having: QBFilterQuery<T>

Inherited from: Omit.having

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: Omit.orderBy

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


populate#

Optional populate: P

Inherited from: Omit.populate

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


refresh#

Optional refresh: boolean

Inherited from: Omit.refresh

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


schema#

Optional schema: string

Inherited from: Omit.schema

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


strategy#

Optional strategy: LoadStrategy

Inherited from: Omit.strategy

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