Package 

Class SqlUtilKt

    • Method Summary

      Modifier and Type Method Description
      final static SqlOutPutVisitor getOutPutVisitor(DB db) 根据数据库类型选择不同的方言生成器
      final static String toSqlString(SqlStatement sqlStatement, DB db) 根据数据库类型选择不同的方言生成器,生成sql
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toSqlString

         final static String toSqlString(SqlStatement sqlStatement, DB db)

        根据数据库类型选择不同的方言生成器,生成sql

        Parameters:
        sqlStatement - SqlStatement sql语法树
        db - DB 数据库类型