Commit Graph

159 Commits

Author SHA1 Message Date
Joshua Wise
e9ee374077 fixed test 2022-01-18 20:15:14 -06:00
Joshua Wise
9f6050a562 implemented "nativeBinding" database option 2022-01-18 17:45:57 -06:00
Joshua Wise
539ff32b96 implemented statement.busy getter 2022-01-18 16:19:51 -06:00
Joshua Wise
b3169ef6d6 fixed bug in node 14 where empty buffers are bound as null 2021-07-19 00:13:37 -05:00
Joshua Wise
d094aac3f5 updated tests 2021-07-18 21:47:44 -05:00
Joshua Wise
2b8ad64bd3 edited comment 2021-05-12 23:52:15 -05:00
Joshua Wise
843026fe01 fixed bug in edge case 2021-05-12 23:46:33 -05:00
Joshua Wise
43dd2887b6 added test 2021-05-12 21:17:05 -05:00
Joshua Wise
a72acd5842 improved documentation, added tests, and micro-optimizations 2021-05-12 17:36:11 -05:00
Joshua Wise
0a0bc8b7f5 fixed test 2021-05-11 01:39:32 -05:00
Joshua Wise
9227a57de3 wrote tests for virtual tables 2021-05-11 01:05:54 -05:00
Joshua Wise
0ad86ca5e0 added directOnly option to db.aggregate() 2021-05-04 19:57:29 -05:00
Joshua Wise
260b854e47 added directOnly option to db.function() 2021-05-04 19:52:07 -05:00
Joshua Wise
dcb58cd070 implemented stmt.readonly property 2021-05-04 19:29:53 -05:00
Joshua Wise
405052f115 removed HAVE_USLEEP 2021-05-04 18:56:46 -05:00
Joshua Wise
e208564193 implemented db.serialize() and deserialization 2021-05-04 18:47:20 -05:00
Joshua Wise
61bb6cb842 made timing test even more lenient 2021-05-04 02:36:42 -05:00
Joshua Wise
a7db75c1ce made timing test more lenient 2021-05-04 02:33:39 -05:00
Joshua Wise
579e3b4b4b * added support for the RETURNING clause
* statements that return data can now be executed via .run()
2021-05-04 01:06:46 -05:00
Joshua Wise
e8057ec4ab fixed database subclassing 2021-04-14 17:53:42 -05:00
Joshua Wise
91561e4421 made timing test more lenient 2021-03-30 16:48:40 -05:00
Joshua Wise
23eff1ad52 added github sponsorship information 2020-04-25 10:20:05 -05:00
Joshua Wise
e64c01b5de clean up worker threads in tests 2020-04-25 09:49:22 -05:00
Joshua Wise
a8ee5a5962 added tests for unsafe mode and fixed bug 2020-04-25 09:14:52 -05:00
Joshua Wise
f7577c7d29 improved logging of db.exec() statements, and improved detection of multiple statements in db.prepare() 2020-04-23 15:01:12 -05:00
Joshua Wise
ccf0380679 removed "memory" option when opening new databases 2020-04-22 18:56:14 -05:00
Joshua Wise
94521dd185 removed db.checkpoint() method in favor of wal_checkpoint(RESTART) pragma 2020-04-22 12:05:52 -05:00
Joshua Wise
758665a3db dropped support for node versions < 10
removed the integer library in favor of bigints
added support for worker threads
enabled SQLITE_THREADSAFE=2
replaced native Require() calls with dependency injection
2020-04-21 20:53:31 -05:00
Joshua Wise
e9f27dfff2 updated docs 2020-01-07 14:05:18 -05:00
mrawdon
3dd996e10b Window test extension (#307)
* Export test extension for Windows

* Enabled integrity extension tests

Co-authored-by: Joshua Wise <JoshuaWise@users.noreply.github.com>
2020-01-07 13:57:38 -05:00
Joshua Wise
04e13e2585 added correct deploy key and cleaned up 2020-01-07 13:23:41 -05:00
Dan Barela
f889257db4 Prebuild
This adds prebuild support.  When the library is released from GitHub a travis build will run which builds the library for Node 8, 10 and 12, and Electron 2 - 7
2019-10-30 11:22:49 -06:00
Joshua Thomas Wise
2bbc1c15fd ignore timeout test in windows CI 2019-08-05 11:48:59 -04:00
Joshua Thomas Wise
41f675f2fd fixed fd leaks during tests 2019-08-05 11:30:11 -04:00
Matthew McEachen
53159e7dee Add windows continuous integration tests (#193)
* Add windows CI support:
* appveyor config
* fix afterEach failures by closing some DB leaks
* skip load-extension tests (at least for now)
* removed bash-specific `$(npm bin)` construct

* windows ci is slow, and fixed another db leak

* appveyor machines are slow

* fix db leak

* add node 12 to windows build matrix

* get tests passing on windows again

* prevent fd leak
2019-08-05 10:58:16 -04:00
Joshua Wise
c97fd0fb0b made logging synchronous 2019-01-22 11:58:15 -05:00
Joshua Wise
b1e918c37b Merge branch 'verbose' 2019-01-22 00:31:39 -05:00
Joshua Wise
75095aa066 Merge branch 'backups' 2019-01-22 00:16:03 -05:00
Joshua Wise
ac71254b12 added tests for db.backup() 2019-01-22 00:14:00 -05:00
Joshua Thomas Wise
4d5d4290e5 added a placeholder test for db.backup() 2019-01-17 17:03:23 -05:00
Joshua Thomas Wise
62758449a2 started writing tests for db.backup() 2019-01-17 16:58:33 -05:00
Joshua Thomas Wise
2a001e4168 added tests for new busy logic 2019-01-17 16:52:11 -05:00
Joshua Wise
065d6fa484 whitespace 2019-01-16 23:01:01 -05:00
Joshua Thomas Wise
bbbdd8f8f3 improved timeliness of backup progress callback 2019-01-14 19:40:07 -05:00
Joshua Wise
abd8332715 added tests 2019-01-13 18:08:08 -05:00
Joshua Thomas Wise
a5fe4691e3 allow temporary databases and treat them like in-memory databases 2019-01-11 12:04:17 -05:00
Joshua Thomas Wise
13a4021776 added backwards support for node v8.0.0 2018-12-17 12:57:07 -05:00
Joshua Wise
1b17cbe5ba changed test order 2018-12-15 08:08:43 -05:00
Joshua Wise
9731cd081a added tests and docs for .columns() method 2018-12-15 07:10:38 -05:00
Joshua Wise
5d9e2a8aff added tests 2018-12-15 04:34:32 -05:00