MultiInsert

ldbc.query.builder.statement.MultiInsert
case class MultiInsert[F[_], P <: Product, T <: Tuple](tableQuery: TableQuery[F, P], tuples: List[T], params: Seq[ParameterBinder[F]])

A model for constructing INSERT statements that insert multiple values in MySQL.

Type parameters

F

The effect type

P

Base trait for all products

T

Tuple type of the property with type parameter P

Value parameters

params

A list of Traits that generate values from Parameter, allowing PreparedStatement to be set to a value by index only.

tableQuery

Trait for generating SQL table information.

tuples

Tuple type value of the property with type parameter P.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def onDuplicateKeyUpdate[T](func: TableQuery[F, P] => T)(using IsColumnQuery[F, T] =:= true): DuplicateKeyUpdateInsert[F]

Methods for constructing INSERT ... ON DUPLICATE KEY UPDATE statements.

Methods for constructing INSERT ... ON DUPLICATE KEY UPDATE statements.

Attributes

Inherited from:
Insert (hidden)
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

override val statement: String

SQL statement string

SQL statement string

Attributes