formatExpression
fun formatExpression(expression: SqlExpression, beautifySql: Boolean = false, indentSize: Int = 2): Pair<String, List<ArgumentExpression<*>>>(source)
Format the specific SqlExpression to an executable SQL string with execution arguments.
Return
a Pair combines the SQL string and its execution arguments.
Parameters
expression
the expression to be formatted.
beautifySql
output beautiful SQL strings with line-wrapping and indentation, default to false
.
indentSize
the indent size, default to 2.