Comparing version 3.7.1 to 3.7.2
@@ -24,2 +24,3 @@ /* SQB | ||
const extensions = require('./extensions'); | ||
const Operator = require('./sqlobject/Operator'); | ||
const promisePolyfill = require('./helper/promisePolyfill'); | ||
@@ -37,6 +38,7 @@ | ||
PoolState: Pool.PoolState, | ||
SelectQuery: SelectQuery, | ||
InsertQuery: InsertQuery, | ||
UpdateQuery: UpdateQuery, | ||
DeleteQuery: DeleteQuery, | ||
SelectQuery, | ||
InsertQuery, | ||
UpdateQuery, | ||
DeleteQuery, | ||
Operator, | ||
@@ -43,0 +45,0 @@ select(...column) { |
@@ -28,3 +28,2 @@ /* SQB | ||
super(); | ||
this.isOperator = true; | ||
this._operatorType = null; | ||
@@ -31,0 +30,0 @@ } |
@@ -50,3 +50,3 @@ /* SQB | ||
} | ||
if (!(arg.isOperator || arg.isRaw)) | ||
if (!(arg instanceof Operator || arg.isRaw)) | ||
throw new ArgumentError('Operator or Raw type required'); | ||
@@ -53,0 +53,0 @@ this._items.push(arg); |
{ | ||
"name": "sqb", | ||
"description": "Extensible, multi-dialect SQL query builder and Database connection framework for JavaScript", | ||
"version": "3.7.1", | ||
"version": "3.7.2", | ||
"author": "Panates Ltd.", | ||
@@ -27,7 +27,7 @@ "contributors": [ | ||
"doublylinked": "^2.0.1", | ||
"errorex": "^2.0.3", | ||
"errorex": "^2.3.0", | ||
"lightning-pool": "^2.0.8", | ||
"putil-flattentext": "^2.0.0", | ||
"putil-isplainobject": "^1.0.1", | ||
"putil-merge": "^3.1.4", | ||
"putil-merge": "^3.2.0", | ||
"putil-promisify": "^1.3.0", | ||
@@ -39,3 +39,3 @@ "putil-taskqueue": "^2.1.2", | ||
"babel-eslint": "^10.0.1", | ||
"eslint": "^5.12.0", | ||
"eslint": "^5.12.1", | ||
"eslint-config-google": "^0.11.0", | ||
@@ -42,0 +42,0 @@ "mocha": "^5.2.0", |
4436
120674
Updatederrorex@^2.3.0
Updatedputil-merge@^3.2.0