SqlInsertReturningOperationImpl

dataprism.platform.sql.SqlOperations.SqlInsertReturningOperationImpl
class SqlInsertReturningOperationImpl[A[_[_]], B[_[_]], C[_[_]]](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]]], val returning: (A[DbValue]) => C[DbValue])(implicit evidence$1: ApplyKC[C], evidence$2: TraverseKC[C]) extends SqlInsertReturningOperation[A, B, C]

Attributes

Source
SqlOperations.scala
Graph
Supertypes
trait ResultOperation[C]
trait Operation[Seq[C[Id]]]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

override type Types = C[Type]

Attributes

Source
SqlOperations.scala

Value members

Concrete methods

override def sqlAndTypes: (SqlStr[Codec], C[Type])

Attributes

Definition Classes
Source
SqlOperations.scala

Inherited methods

def run[F[_]](using Db[F, Codec])(using MonadThrow[F]): F[Seq[C[Id]]]

Attributes

Inherited from:
Operation
Source
SqlOperationsBase.scala
def runMaybeOne[F[_]](using db: Db[F, Codec])(using MonadThrow[F]): F[Option[C[Id]]]

Attributes

Inherited from:
ResultOperation
Source
SqlOperationsBase.scala
def runOne[F[_]](using db: Db[F, Codec])(using MonadThrow[F]): F[C[Id]]

Attributes

Inherited from:
ResultOperation
Source
SqlOperationsBase.scala
def runOneOrMore[F[_]](using db: Db[F, Codec])(using MonadThrow[F]): F[NonEmptySeq[C[Id]]]

Attributes

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

Attributes

Definition Classes
Inherited from:
ResultOperation
Source
SqlOperationsBase.scala

Givens

Inherited givens

given resApplyK: ApplyKC[C]

Attributes

Inherited from:
ResultOperation
Source
SqlOperationsBase.scala
given resTraverseK: TraverseKC[C]

Attributes

Inherited from:
ResultOperation
Source
SqlOperationsBase.scala