SqlInsertOperationImpl

dataprism.platform.sql.SqlOperations.SqlInsertOperationImpl
class SqlInsertOperationImpl[A[_[_]], B[_[_]]](val table: Table[Codec, A], val columns: (A[[X] =>> Column[Codec, X]]) => B[[X] =>> Column[Codec, X]], val values: Query[B], val conflictOn: (A[[Z] =>> Column[Codec, Z]]) => List[Column[Codec, _]], val onConflict: B[[Z] =>> (DbValue[Z], DbValue[Z]) => Option[DbValue[Z]]]) extends SqlInsertOperation[A, B]

Attributes

Source
SqlOperations.scala
Graph
Supertypes
trait SqlInsertOperation[A, B]
trait IntOperation
trait Operation[Int]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

Attributes

Inherited from:
IntOperation
Source
SqlOperationsBase.scala

Value members

Concrete methods

def onConflict(on: (A[[Z] =>> Column[Codec, Z]]) => NonEmptyList[Column[Codec, _]], a: B[[Z] =>> (DbValue[Z], DbValue[Z]) => Option[DbValue[Z]]])(using InsertOnConflictCapability): InsertOperation[A, B]

Attributes

Source
SqlOperations.scala

Attributes

Source
SqlOperations.scala
def returning[C[_[_]] : TraverseKC](f: (A[DbValue]) => C[DbValue])(implicit evidence$1: ApplyKC[C], evidence$2: TraverseKC[C], InsertReturningCapability): InsertReturningOperation[A, B, C]

Attributes

Source
SqlOperations.scala
override def sqlAndTypes: (SqlStr[Codec], Type[Int])

Attributes

Definition Classes
Source
SqlOperations.scala

Inherited methods

def run[F[_]](using Db[F, Codec])(using MonadThrow[F]): F[Int]

Attributes

Inherited from:
Operation
Source
SqlOperationsBase.scala
override def runWithSqlAndTypes[F[_]](sqlStr: SqlStr[Codec], types: Type[Int])(using db: Db[F, Codec])(using MonadThrow[F]): F[Int]

Attributes

Definition Classes
Inherited from:
IntOperation
Source
SqlOperationsBase.scala