English | 简体中文

api-docs / org.ktorm.support.postgresql / InsertOrUpdateExpression / <init>

<init>

InsertOrUpdateExpression(
    table: TableExpression,
    assignments: List<ColumnAssignmentExpression<*>>,
    conflictColumns: List<ColumnExpression<*>> = emptyList(),
    updateAssignments: List<ColumnAssignmentExpression<*>> = emptyList(),
    returningColumns: List<ColumnExpression<*>> = emptyList(),
    isLeafNode: Boolean = false,
    extraProperties: Map<String, Any> = emptyMap())

Insert or update expression, represents an insert statement with an
on conflict (key) do update set clause in PostgreSQL.