Skip to main content
Version: Next

InitCollectionOptions <T, P, F, E>

Hierarchy

Index

Properties

optionalconnectionType

connectionType?: ConnectionType

optionalconvertCustomTypes

convertCustomTypes?: boolean

optionaldataloader

dataloader?: boolean

optionalexclude

exclude?: readonly EntityField<T, E>[]

optionalfields

fields?: readonly EntityField<T, F>[]

optionalfilters

filters?: boolean | string[] | Dictionary<boolean | Dictionary>

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<T> | QueryOrderMap<T>[]

optionalpopulate

populate?: Populate<T, P>

optionalpopulateWhere

populateWhere?: PopulateHint | infer | all

optionalref

ref?: boolean

optionalrefresh

refresh?: boolean

optionalschema

schema?: string

optionalstrategy

strategy?: LoadStrategy

optionalvalidate

validate?: boolean

optionalwhere

where?: FilterQuery<T>