package
0.0.0-20220820011906-c3ec36b608b7
Repository: https://github.com/kinwyb/go.git
Documentation: pkg.go.dev
# Functions
链接mysql数据库,其中other参数代表链接字符串附加的配置信息eg:mysql://lcfgly:wang93426@tcp(api.zhifangw.cn:3306)/rfid?loc=Local&multiStatements=true其中other="loc=Local&multiStatements=true".
执行结果是否有错误.
获取重复字段.
SelectSQL 获取对象.
SetSQL 转换成插入语句.
Update 更新数据.
拼接 where in 条件,field要查询的字段名称以及拼接条件,value表示in中的字段值多个值按char[默认逗号]分割,args表示参数集合返回拼接结果和参数集合,eg: whereIN("AND material_code", "xxx,xxxxx", args, bs).
# Variables
No description provided by the author
No description provided by the author