public class SdDbUtilSqliteImpl extends SdAbstractDbUtil
| 构造器和说明 |
|---|
SdDbUtilSqliteImpl(SdDatabaseOptions options)
初始化
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
createDatabase(SdAbstractDatabaseContent content)
创建数据库
|
boolean |
createDatabase(SdDatabaseOptions config,
SdAbstractDatabaseContent content)
创建数据库
|
boolean |
existDatabase(SdDatabaseOptions config,
String dbName)
数据库是否存在
|
boolean |
existDatabase(String dbName)
数据库是否存在
|
boolean |
updateDatabase(SdDatabaseOptions config,
SdAbstractDatabaseContent content)
修改数据库
|
converterColumnsAttribute, converterIndexKeysAttribute, converterPortedKeysAttribute, converterPrimaryKeyAttribute, converterTableAttribute, createTable, deleteTable, existTable, getBaseUrlConfig, getConfig, getConnection, getConnection, getSdTable, getSdTable, getTableAttribute, getTableColumnsAttribute, getTableExportedKeysAttribute, getTableImportedKeysAttribute, getTableIndexKeysAttribute, getTableNames, getTablePrimaryKeyAttribute, setConfig, updateDatabase, updateTableinstancepublic SdDbUtilSqliteImpl(SdDatabaseOptions options)
options - public boolean existDatabase(String dbName) throws Exception
ScrewDriverDbUtilexistDatabase 在类中 SdAbstractDbUtildbName - 数据库名称Exceptionpublic boolean existDatabase(SdDatabaseOptions config, String dbName) throws Exception
ScrewDriverDbUtilexistDatabase 在类中 ScrewDriverDbUtilconfig - 数据库连接信息dbName - 数据库名称Exceptionpublic boolean createDatabase(SdAbstractDatabaseContent content) throws Exception
ScrewDriverDbUtilcreateDatabase 在类中 SdAbstractDbUtilcontent - 数据库创建的内容Exceptionpublic boolean createDatabase(SdDatabaseOptions config, SdAbstractDatabaseContent content) throws Exception
ScrewDriverDbUtilcreateDatabase 在类中 SdAbstractDbUtilconfig - 数据库连接信息content - 数据库创建的内容Exceptionpublic boolean updateDatabase(SdDatabaseOptions config, SdAbstractDatabaseContent content) throws Exception
ScrewDriverDbUtilupdateDatabase 在类中 SdAbstractDbUtilconfig - 数据库连接信息content - 数据库修改的内容ExceptionCopyright © 2019 Mirren Tools. All rights reserved.