Skip to main content
Version: 4.4

Interface: FindOneOptions<T, P>#

core.FindOneOptions

Type parameters#

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

Hierarchy#

Properties#

cache#

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

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


convertCustomTypes#

Optional convertCustomTypes: undefined | boolean

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


disableIdentityMap#

Optional disableIdentityMap: undefined | boolean

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


fields#

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

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


filters#

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

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


flags#

Optional flags: undefined | QueryFlag[]

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


groupBy#

Optional groupBy: undefined | string | string[]

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>

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


lockMode#

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

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


lockVersion#

Optional lockVersion: undefined | number | Date

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


orderBy#

Optional orderBy: undefined | QueryOrderMap

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


populate#

Optional populate: undefined | P

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


refresh#

Optional refresh: undefined | boolean

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


schema#

Optional schema: undefined | string

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


strategy#

Optional strategy: undefined | SELECT_IN | JOINED

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

Last updated on by renovate[bot]