Class SchemaUtils


  • public class SchemaUtils
    extends Object
    Created by hocgin on 2022/3/16 email: hocgin@gmail.com
    Author:
    hocgin
    • Constructor Detail

      • SchemaUtils

        public SchemaUtils()
    • Method Detail

      • createIfNeeded

        public void createIfNeeded​(cn.hutool.db.meta.Table table)
      • getSchema

        public String getSchema()
      • relationExists

        public boolean relationExists​(cn.hutool.db.meta.Table table)
      • relationExists

        public boolean relationExists​(String name,
                                      String schemaName)
        表是否存在
        Parameters:
        name - 表名
        schemaName - 库名
        Returns: