SQLiteFormatter
open class SQLiteFormatter(database: Database, beautifySql: Boolean, indentSize: Int) : SqlFormatter, SQLiteExpressionVisitor(source)
SqlFormatter implementation for SQLite, formatting SQL expressions as strings with their execution arguments.
Functions
Link copied to clipboard
Dispatch different type of expression nodes to their specific visit*
functions. Custom expression types that are unknown to Ktorm will be dispatched to visitUnknown.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Function that visits a BulkInsertExpression.
Link copied to clipboard
open fun visitBulkInsertAssignments(assignments: List<List<ColumnAssignmentExpression<*>>>): List<List<ColumnAssignmentExpression<*>>>
Helper function for visiting insert assignments of BulkInsertExpression.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <T : Any> visitColumnAssignment(expr: ColumnAssignmentExpression<T>): ColumnAssignmentExpression<T>
Link copied to clipboard
open override fun <T : Any> visitColumnDeclaring(expr: ColumnDeclaringExpression<T>): ColumnDeclaringExpression<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun <T : SqlExpression> visitExpressionList(original: List<T>, subVisitor: (T) -> T): List<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Function that visits an InsertOrUpdateExpression.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <T : Any> visitWhenClauses(originalClauses: List<Pair<ScalarExpression<*>, ScalarExpression<T>>>): List<Pair<ScalarExpression<*>, ScalarExpression<T>>>
Link copied to clipboard
open override fun visitWindowFrameBound(expr: WindowFrameBoundExpression): WindowFrameBoundExpression
Link copied to clipboard
open override fun <T : Any> visitWindowFunction(expr: WindowFunctionExpression<T>): WindowFunctionExpression<T>
Link copied to clipboard
open override fun visitWindowSpecification(expr: WindowSpecificationExpression): WindowSpecificationExpression