# Functions
No description provided by the author
CommonBeginTxWithLevel starts a transaction with given transaction isolation level and db connection.
CommonExec is a common method of exec.
CommonExecWithTx is a common method of exec.
CommonQuery is a common method of query.
CommonQueryWithTx is a common method of query.
Contains check the given DatabaseType is in the list or not.
DT turn the string value into DatabaseType.
No description provided by the author
No description provided by the author
GetConnectionByDriver return the Connection by given driver name.
No description provided by the author
GetDTAndCheck check the DatabaseType.
GetMssqlDB return the global mssql connection.
GetMysqlDB return the global mysql connection.
GetOceanBaseDB return the global OceanBase connection.
GetPostgresqlDB return the global postgresql connection.
GetSqliteDB return the global sqlite connection.
No description provided by the author
GetValueFromJSONOfDatabaseType return Value of given DatabaseType and interface from JSON string value.
GetValueFromDatabaseType return Value of given DatabaseType and interface.
RecycleSQL clear the SQL and put into the pool.
SetColVarType set the column type.
SetResultValue set the result value.
TableName return a SQL with given table and default connection.
WithDriver return a SQL with given driver.
WithDriverAndConnection return a SQL with given driver and connection name.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DriverMssql is a const value of mssql driver.
DriverMysql is a const value of mysql driver.
DriverOceanBase is a const value of oceanbase driver.
DriverPostgresql is a const value of postgresql driver.
DriverSqlite is a const value of sqlite driver.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
BoolTypeList is a DatabaseType list of bool.
FloatTypeList is a DatabaseType list of float.
IntTypeList is a DatabaseType list of integer.
SQLPool is a object pool of SQL.
StringTypeList is a DatabaseType list of string.
UintTypeList is a DatabaseType list of uint.
# Structs
Base is a common Connection.
Mssql is a Connection of mssql.
Mysql is a Connection of mysql.
OceanBase is a Connection of OceanBase.
Postgresql is a Connection of postgresql.
SQL wraps the Connection and driver dialect methods.
Sqlite is a Connection of sqlite.
SQLTx is an in-progress database transaction.
# Interfaces
Connection is a connection handler of database.
# Type aliases
DatabaseType is the database field type.
H is a shorthand of map.
TxFn is the transaction callback function.
Value is a string.