1 Star 1 Fork 1

ideadawn/dbvm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
error.go 780 Bytes
一键复制 编辑 原始数据 按行查看 历史
package mysql
import (
"errors"
)
var (
errConnection = errors.New(`database was not connected`)
errTableName = errors.New(`table name should be validated by "^[a-z0-9_]+$"`)
errTableNotInit = errors.New(`log table was not initiated`)
errDeployNothing = errors.New(`there is nothing to deploy`)
errSyntaxError = errors.New(`syntax error, Multi bytes charactor in sql`)
// errNoNotNull = errors.New(`"NOT NULL" is necessary`)
// errNoDefault = errors.New(`"DEFAULT" is necessary`)
// errSqlNoEnd = errors.New(`sql statement without end`)
errCreateTableINE = errors.New(`"CREATE TABLE" must follow " IF NOT EXISTS"`)
errDropTableIE = errors.New(`"DROP TABLE" must follow " IF EXISTS"`)
errAlterUnknown = errors.New(`unknown sub command for alter`)
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/ideadawn/dbvm.git
git@gitee.com:ideadawn/dbvm.git
ideadawn
dbvm
dbvm
v0.2.6

搜索帮助