where_parser 源码
where_parser 在main.go中的percer 运行测试查询应用 去运行main.go 应用程式功能 解析(查询字符串,qb squirrel.SelectBuilder)(* squirrel.SelectBuilder,错误) SQL查询的WHERE部分的简单解析器 查找(条件字符串)(字符串,[]字符串) 搜索并返回操作员和部分条件 splitCondition(条件字符串)squirrel.Sqlizer 用松鼠包装中的条件替换单个条件 splitAndCodition(andCond [] string)squirrel.Sqlizer 用“和”创建一个通用条件 checkAnotherOpers(查询字符串)(标志布尔) 检查查询中是否有其他SQL语句 func callBackHandler(name string,value string)布尔 检查
下载地址
用户评论