AppliedSql

usql.AppliedSql
case class AppliedSql[T](base: SqlBase, parameter: T, rowEncoder: RowEncoder[T]) extends SqlBase

With supplied arguments

Attributes

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

Members list

Value members

Concrete methods

override def withPreparedStatement[T](f: PreparedStatement => T)(using cp: ConnectionProvider, sp: StatementPreparator): T

Prepares a statement which can then be further filled or executed.

Prepares a statement which can then be further filled or executed.

Attributes

Definition Classes

Inherited methods

def batch[T](values: Iterable[T])(using p: RowEncoder[T]): Batch[T]

Turns into a batch operation

Turns into a batch operation

Attributes

Inherited from:
SqlBase
def execute()(using ConnectionProvider): Boolean

Raw Executes this statement.

Raw Executes this statement.

Attributes

Inherited from:
SqlBase
def one[T](value: T)(using p: RowEncoder[T]): AppliedSql[T]

Turns into a update on one value set.

Turns into a update on one value set.

Attributes

Inherited from:
SqlBase
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def query: Query

Turns into a query

Turns into a query

Attributes

Inherited from:
SqlBase
def update: Update

Turns into an update.

Turns into an update.

Attributes

Inherited from:
SqlBase