Package in.hocg.boot.utils.db.schema
Class SchemaUtils
- java.lang.Object
-
- in.hocg.boot.utils.db.schema.SchemaUtils
-
public class SchemaUtils extends Object
Created by hocgin on 2022/3/16 email: hocgin@gmail.com- Author:
- hocgin
-
-
Constructor Summary
Constructors Constructor Description SchemaUtils()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateIfNeeded(cn.hutool.db.meta.Table table)StringgetSchema()booleanrelationExists(cn.hutool.db.meta.Table table)booleanrelationExists(String name, String schemaName)表是否存在
-
-
-
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)
-
-