SqlBase

usql.SqlBase
trait SqlBase

Something which can create prepared statements.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AppliedSql[T]
class RawSql
class Sql

Members list

Value members

Abstract methods

def withPreparedStatement[T](f: PreparedStatement => T)(using cp: ConnectionProvider, prep: 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

Concrete methods

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

Turns into a batch operation

Turns into a batch operation

Attributes

def execute()(using ConnectionProvider): Boolean

Raw Executes this statement.

Raw Executes this statement.

Attributes

def one[T](value: T)(using p: ParameterFiller[T]): AppliedSql[T]

Turns into a update on one value set.

Turns into a update on one value set.

Attributes

def query: Query

Turns into a query

Turns into a query

Attributes

def update: Update

Turns into an update.

Turns into an update.

Attributes