Skip to main content
Version: Next

UpsertManyOptions <Entity, Fields>

Options for em.upsertMany(), adds batch size control.

Hierarchy

Index

Properties

optionalbatchSize

batchSize?: number

optionalinheritedconvertCustomTypes

convertCustomTypes?: boolean

optionalinheritedctx

ctx?: any

optionalinheriteddisableIdentityMap

disableIdentityMap?: boolean

optionalinheritedfilters

filters?: FilterOptions

optionalinheritedloggerContext

loggerContext?: LogContext

optionalinheritedonConflictAction

onConflictAction?: merge | ignore

optionalinheritedonConflictExcludeFields

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

optionalinheritedonConflictFields

onConflictFields?: RawQueryFragment<string> | keyof Entity[]

optionalinheritedonConflictMergeFields

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

optionalinheritedonConflictWhere

onConflictWhere?: FilterQuery<Entity>

optionalinheritedschema

schema?: string

optionalinheritedunionWhere

unionWhere?: ObjectQuery<Entity>[]

sql only

optionalinheritedunionWhereStrategy

unionWhereStrategy?: union-all | union

sql only