You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: test/23.statement.iterate.js
+32
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ const Database = require('../.');
4
4
describe('Statement#iterate()',function(){
5
5
beforeEach(function(){
6
6
this.db=newDatabase(util.next());
7
+
this.db.pragma("journal_mode = WAL");
7
8
this.db.prepare('CREATE TABLE entries (a TEXT, b INTEGER, c REAL, d BLOB, e TEXT)').run();
8
9
this.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();
9
10
});
@@ -245,4 +246,35 @@ describe('Statement#iterate()', function () {
0 commit comments