Skip to content

postgrelize / OnConflictUpdate

Type Alias: OnConflictUpdate<T> ​

OnConflictUpdate<T> = readonly (keyof T & string)[] | Readonly<{ [K in keyof T]?: T[K] | SqlExpression }>

Defined in: src/model/on-conflict-builder.ts:36

Values assigned on conflict: a list of attributes (each set to excluded(attribute)) or a map of attribute to value or expression (excluded(), col(), fn(), literal()).

Type Parameters ​

T ​

T

Released under the MIT License.