UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.

13 lines (12 loc) 421 B
import { UpsertType } from "../driver/types/UpsertType"; export type InsertOrUpdateOptions = { /** * If true, postgres will skip the update if no values would be changed (reduces writes) */ skipUpdateIfNoValuesChanged?: boolean; /** * If included, postgres will apply the index predicate to a conflict target (partial index) */ indexPredicate?: string; upsertType?: UpsertType; };