Comparing version 0.2.11 to 0.2.13
{ | ||
"name": "sqb", | ||
"description": "Plugin-driven, multi-dialect SQL query builder and Database connection framework for JavaScript", | ||
"version": "0.2.11", | ||
"version": "0.2.13", | ||
"author": "Panates Ltd.", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -50,5 +50,5 @@ /* SQB | ||
return DbPool.create(config); | ||
}, | ||
} | ||
}); | ||
module.exports = sqlObjects; |
@@ -62,3 +62,3 @@ /* SQB | ||
column: this._serializeFieldName, | ||
case: this._serializeCase, | ||
case: this._serializeCase | ||
}; | ||
@@ -86,3 +86,3 @@ } | ||
obj[key.toUpperCase()] = values[key]; | ||
}, | ||
} | ||
); | ||
@@ -97,3 +97,3 @@ this._executeParams = obj; | ||
sql: this._serializeSqlObject(obj), | ||
params: this._outParams, | ||
params: this._outParams | ||
}; | ||
@@ -246,3 +246,3 @@ } | ||
sb.append((idx > 0 ? ', ' : (prettyPrint ? '' : ' ')) + s); | ||
}, | ||
} | ||
); | ||
@@ -249,0 +249,0 @@ } |
@@ -37,3 +37,3 @@ /* SQB | ||
condition: this._condition, | ||
value, | ||
value | ||
}); | ||
@@ -40,0 +40,0 @@ return this; |
@@ -76,3 +76,3 @@ /* SQB | ||
out[key.toUpperCase()] = values[key]; | ||
}, | ||
} | ||
); | ||
@@ -79,0 +79,0 @@ this._values = out; |
@@ -40,4 +40,5 @@ /* SQB | ||
} else | ||
return Serializer.create(config). | ||
build(this, (config ? config.params : undefined) || params); | ||
return Serializer | ||
.create(config) | ||
.build(this, (config ? config.params : undefined) || params); | ||
} | ||
@@ -61,4 +62,4 @@ | ||
assert.ok(dbpool, 'This statement is not executable'); | ||
return dbpool.connect((conn) => conn.execute(this, undefined, options)). | ||
then(callback); | ||
return dbpool.connect((conn) => conn.execute(this, undefined, options)) | ||
.then(callback); | ||
} | ||
@@ -65,0 +66,0 @@ } |
@@ -57,3 +57,3 @@ /* SQB | ||
out[key.toUpperCase()] = values[key]; | ||
}, | ||
} | ||
); | ||
@@ -60,0 +60,0 @@ this._values = out; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61477
2089