Skip to main content
Version: Next

EntityLoaderOptions <Entity, Fields, Excludes>

Hierarchy

Index

Properties

optionalconnectionType

connectionType?: ConnectionType

optionalconvertCustomTypes

convertCustomTypes?: boolean

optionalexclude

exclude?: readonly AutoPath<Entity, Excludes, never, 9>[]

optionalfields

fields?: readonly AutoPath<Entity, Fields, *, 9>[]

optionalfilters

filters?: FilterOptions

optionalignoreLazyScalarProperties

ignoreLazyScalarProperties?: boolean

optionallockMode

lockMode?: NONE | PESSIMISTIC_READ | PESSIMISTIC_WRITE | PESSIMISTIC_PARTIAL_WRITE | PESSIMISTIC_WRITE_OR_FAIL | PESSIMISTIC_PARTIAL_READ | PESSIMISTIC_READ_OR_FAIL

optionallogging

logging?: LoggingOptions

optionallookup

lookup?: boolean

optionalorderBy

orderBy?: QueryOrderMap<Entity> | QueryOrderMap<Entity>[]

optionalpopulateWhere

populateWhere?: PopulateHint | infer | all

optionalrefresh

refresh?: boolean

optionalschema

schema?: string

optionalstrategy

strategy?: LoadStrategy | select-in | joined | balanced

optionalvalidate

validate?: boolean

optionalwhere

where?: FilterQuery<Entity>