better-sqlite3
Advanced tools
Comparing version 1.1.3 to 1.2.0
@@ -12,2 +12,5 @@ 'use strict'; | ||
Int64.prototype.equals = function equals(other) { | ||
if (typeof other === 'string') { | ||
return this.toString() === other; | ||
} | ||
if (!(other instanceof Int64)) { | ||
@@ -14,0 +17,0 @@ return +this == other; |
{ | ||
"name": "better-sqlite3", | ||
"version": "1.1.3", | ||
"version": "1.2.0", | ||
"description": "The fastest and simplest library for SQLite3 in Node.js.", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/JoshuaWise/better-sqlite3", |
@@ -18,3 +18,3 @@ 'use strict'; | ||
}); | ||
it('should return the first matching row', function () { | ||
it('should return an array of every matching row', function () { | ||
db.prepare("INSERT INTO entries WITH RECURSIVE temp(a, b, c, d, e) AS (SELECT 'foo', 1, 3.14, x'dddddddd', NULL UNION ALL SELECT a, b + 1, c, d, e FROM temp LIMIT 10) SELECT * FROM temp").run(); | ||
@@ -21,0 +21,0 @@ var row = {a: 'foo', b: 1, c: 3.14, d: Buffer.alloc(4).fill(0xdd), e: null}; |
Sorry, the diff of this file is not supported yet
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
2654208
121
2341
4