English | 简体中文

api-docs / org.ktorm.dsl / AliasRemover / intercept

intercept

fun intercept(
    expr: SqlExpression,
    visitor: SqlExpressionVisitor
): SqlExpression?
(source code)

Overrides SqlExpressionVisitorInterceptor.intercept

Intercept the visit functions.

If a non-null result is returned, this result will be used as the visit result, the origin visit function
will be skipped. Otherwise, if null is returned, the origin visit function will be executed, because null
value means that we don’t want to intercept the logic.