English | 简体中文

api-docs / org.ktorm.support.mysql / MySqlDialect / createExpressionVisitor

createExpressionVisitor

open fun createExpressionVisitor(
    interceptor: SqlExpressionVisitorInterceptor
): SqlExpressionVisitor
(source code)

Overrides SqlDialect.createExpressionVisitor

Create a default visitor instance for this dialect using the specific interceptor.

Implementations might have their own sub-interface of SqlExpressionVisitor to support dialect-specific
features, instances of the visitor interface can be created by newVisitorInstance function.

Parameters

interceptor - an interceptor that can intercept the visit functions of visitor sub-interfaces.

Return
an instance of SqlExpressionVisitor that can be intercepted by interceptor.

Since
3.6.0