Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DistSQLCreateDatabase create database if not exists. DistSQLCreateDatabase = `CREATE DATABASE IF NOT EXISTS %s;` // DistSQLUseDatabase use database. DistSQLUseDatabase = `USE %s;` // DistSQLRegisterStorageUnit register database to shardingsphere by storage unit name and database info. DistSQLRegisterStorageUnit = `REGISTER STORAGE UNIT IF NOT EXISTS %s (HOST="%s",PORT=%d,DB="%s",USER="%s",PASSWORD="%s");` // DistSQLShowRulesUsed show all rules used by storage unit name. DistSQLShowRulesUsed = `SHOW RULES USED STORAGE UNIT %s;` // DistSQLUnRegisterStorageUnit unregister database from shardingsphere by storage unit name. DistSQLUnRegisterStorageUnit = `UNREGISTER STORAGE UNIT %s;` // DistSQLDropRule drop rule by rule type and rule name. DistSQLDropRule = `DROP %s RULE %s;` // DistSQLDropTable drop table by table name. DistSQLDropTable = `DROP TABLE %s;` )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.