SqlMergeInsertKeyword

dataprism.platform.sql.SqlMergeOperations.SqlMergeInsertKeyword
class SqlMergeInsertKeyword[A[_[_]], B[_[_]]](val table: Table[Codec, A], val dataSource: Query[B], val joinCondition: (A[DbValue], B[DbValue]) => DbValue[Boolean], val whens: Seq[SqlMergeMatch[A, B]], val cond: Option[(B[DbValue]) => DbValue[Boolean]])

Attributes

Source
SqlMergeOperations.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def values(setValues: (B[DbValue]) => A[DbValue]): SqlMergeOperation[A, B]

Attributes

Source
SqlMergeOperations.scala
inline def valuesInColumns[T](columns: (A[[X] =>> Column[Codec, X]]) => T)(using mr: MapRes[[X] =>> Column[Codec, X], T])(setValues: (B[DbValue]) => mr.K[DbValue]): SqlMergeOperation[A, B]

Attributes

Source
SqlMergeOperations.scala
def valuesInColumnsK[C[_[_]] : TraverseKC](columns: (A[[X] =>> Column[Codec, X]]) => C[[X] =>> Column[Codec, X]])(setValues: (B[DbValue]) => C[DbValue]): SqlMergeOperation[A, B]

Attributes

Source
SqlMergeOperations.scala