StatementContext

class StatementContext(val statement: Statement<*>, val args: Iterable<Pair<IColumnType<*>, Any?>>)

Holds information related to a particular statement and the args needed to prepare it for execution.

Constructors

Link copied to clipboard
constructor(statement: Statement<*>, args: Iterable<Pair<IColumnType<*>, Any?>>)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the string representation of this context's Statement with its argument values included directly instead of parameter placeholders.

Link copied to clipboard
fun sql(transaction: Transaction): String

Returns the string representation of the SQL statement associated with this StatementContext.