SqlFormatter
Implementation of SqlExpressionVisitor, visiting SQL expression trees using visitor pattern. After a visit completes, the executable SQL string will be generated in the sql property with its execution parameters in parameters.
Properties
Functions
Dispatch different type of expression nodes to their specific visit*
functions. Custom expression types that are unknown to Ktorm will be dispatched to visitUnknown.
Function that visits an AggregateExpression.
Function that visits an ArgumentExpression.
Function that visits a BetweenExpression.
Function that visits a BinaryExpression.
Function that visits a CaseWhenExpression.
Function that visits a CastingExpression.
Function that visits a ColumnExpression.
Function that visits a ColumnAssignmentExpression.
Function that visits a ColumnDeclaringExpression.
Function that visits a DeleteExpression.
Function that visits an ExistsExpression.
Helper function for visiting a list of expressions.
Function that visits a FunctionExpression.
Function that visits an InListExpression.
Function that visits an InsertExpression.
Function that visits an InsertFromQueryExpression.
Function that visits a JoinExpression.
Function that visits an OrderByExpression.
Function that visits a QueryExpression.
Function that visits a QuerySourceExpression.
Function that visits a general ScalarExpression, this function dispatches different type of scalar expressions to their specific visit*
functions. Custom expression types that are unknown to Ktorm will be dispatched to visitUnknown
Function that visits a SelectExpression.
Function that visits a TableExpression.
Function that visits an UnaryExpression.
Function that visits an UnionExpression.
Function that visits an unknown expression.
Function that visits an UpdateExpression.
Helper function for visiting when clauses of CaseWhenExpression.
Function that visits a WindowFrameBoundExpression.
Function that visits a WindowFunctionExpression.
Function that visits a WindowSpecificationExpression.