abstract class TextStatementBuilder<K> : StatementBuilder<K>
Superclass for the builder of all statements that can have SQL strings added to the statement body. See TextStatementBuilder.plus.
<init> |
Superclass for the builder of all statements that can have SQL strings added to the statement body. See TextStatementBuilder.plus. TextStatementBuilder() |
doNotCache |
Method to set this builder so that it creates a statement that is not cached by the Database object. By default, statements are cached. fun <T : StatementBuilder<*>> T.doNotCache(): T |
plus |
Add a SQL string to the statement being built. operator fun <T : TextStatementBuilder<*>> T.plus(s: String): T
Add a parameter to the statement being built. The text "?" is added, and the parameter is recorded so that the parameter's index can be determined when the statement is run. operator fun <T : TextStatementBuilder<*>> T.plus(p: Parameter<*>): T
Add a column to the statement being built. The column's string representation in SQL is added. See TextStatementBuilder.qualifyColumnNames operator fun <T : TextStatementBuilder<*>> T.plus(c: Column<*>): T
Add a table to the statement being built. The table's name is appended. operator fun <T : TextStatementBuilder<*>> T.plus(t: Table): T |
qualifyColumnNames |
Determine whether or not subsequent calls to TextStatementBuilder.plus with a TableColumn argument will use the qualified name (table_name.column_name), or just the column name. If this method is not called, the default behavior is to qualify names. fun <T : TextStatementBuilder<*>> T.qualifyColumnNames(v: Boolean = true): T |