master 3.0.3
宇天 2018-06-21 21:04:48 +08:00
parent d933348e8d
commit 305e77c23a
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# 3.0.2 / 2018-06-21 # 3.0.3 / 2018-06-21
* 修复filter解析空条件异常的bug; * 修复filter解析空条件异常的bug;
* table方法支持 AS 别名。 * table方法支持 AS 别名。

View File

@ -154,7 +154,7 @@ const parser = {
filter(opt) { filter(opt) {
let sql = '' let sql = ''
if (!sql) { if (!opt) {
return ' ' return ' '
} }
if (typeof opt === 'string') { if (typeof opt === 'string') {

View File

@ -1,6 +1,6 @@
{ {
"name": "mysqli", "name": "mysqli",
"version": "3.0.2", "version": "3.0.3",
"description": "MySQL tool", "description": "MySQL tool",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {