SqlMergeMatch

dataprism.platform.sql.SqlMergeOperations.SqlMergeMatch
enum SqlMergeMatch[A[_[_]], B[_[_]]]

Attributes

Source
SqlMergeOperations.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
case MatchUpdate[A1, B1, C]
case NotMatchInsert[A1, B1, C]

Members list

Type members

Enum entries

final case class MatchDelete[A[_[_]], B[_[_]]](cond: Option[(A[DbValue], B[DbValue]) => DbValue[Boolean]])

Attributes

Source
SqlMergeOperations.scala
final case class MatchUpdate[A1[_[_]], B1[_[_]], C[_[_]]](cond: Option[(A1[DbValue], B1[DbValue]) => DbValue[Boolean]], columns: (A1[[X] =>> Column[Codec, X]]) => C[[X] =>> Column[Codec, X]], setValues: (A1[DbValue], B1[DbValue]) => C[DbValue])(using CA: ApplyKC[C], CT: TraverseKC[C]) extends SqlMergeMatch[A1, B1]

Attributes

Source
SqlMergeOperations.scala
final case class NotMatchInsert[A1[_[_]], B1[_[_]], C[_[_]]](cond: Option[(B1[DbValue]) => DbValue[Boolean]], columns: (A1[[X] =>> Column[Codec, X]]) => C[[X] =>> Column[Codec, X]], setValues: (B1[DbValue]) => C[DbValue])(using CA: ApplyKC[C], CT: TraverseKC[C]) extends SqlMergeMatch[A1, B1]

Attributes

Source
SqlMergeOperations.scala