prepareSQL

open override fun prepareSQL(transaction: Transaction, prepared: Boolean): String

Returns the string representation of an SQL statement.

If necessary, transaction can be used to ensure that database-specific syntax is used to generate the string. To return a non-parameterized string, set prepared to false.


abstract fun prepareSQL(builder: QueryBuilder): String

Returns the string representation of an SQL query, generated by appending SQL expressions to a QueryBuilder.