SqlMergeUpdateKeyword

dataprism.platform.sql.SqlMergeOperations.SqlMergeUpdateKeyword
class SqlMergeUpdateKeyword[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[(A[DbValue], 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: (A[DbValue], 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: (A[DbValue], 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: (A[DbValue], B[DbValue]) => C[DbValue]): SqlMergeOperation[A, B]

Attributes

Source
SqlMergeOperations.scala