Commit Graph

124 Commits

Author SHA1 Message Date
Fedor Indutny
078808e7c2 Fully remove Deserialize 2024-10-16 10:12:23 -07:00
Fedor Indutny
01d99874a6 Omit features we don't use 2024-10-16 09:39:46 -07:00
Fedor Indutny
28d1929af0 Remove loadExtension method 2024-10-16 09:39:46 -07:00
Fedor Indutny
6439afa9d5 Revert all changes since v8.8.5 to reapply cleanly 2024-10-16 09:39:01 -07:00
Fedor Indutny
e64c401b72 Some further optimizations 2024-10-15 17:20:39 -07:00
Fedor Indutnyy
1a19f1fc6a api: Database#signalTokenize() 2023-11-29 21:46:06 -08:00
Fedor Indutnyy
dc255273fe lib: fix build on windows, better API name 2023-01-25 15:06:02 -08:00
Fedor Indutny
05a8cc2be6
lib: better tokenizer API 2023-01-25 14:15:29 -08:00
Fedor Indutnyy
a2b01b922a feat: js tokenizer 2023-01-24 18:02:39 -08:00
Fedor Indutnyy
7331a93430 api: add setLogHandler 2023-01-18 13:03:53 -08:00
Joshua Wise
9f6050a562 implemented "nativeBinding" database option 2022-01-18 17:45:57 -06:00
Joshua Wise
fc565653d6 made SqliteError code property enumerable 2022-01-18 15:37:47 -06:00
Joshua Wise
a72acd5842 improved documentation, added tests, and micro-optimizations 2021-05-12 17:36:11 -05:00
Joshua Wise
38557cf2a4 made virtual tables strict about preventing missing/extraneous columns from being yielded 2021-05-11 01:36:14 -05:00
Joshua Wise
9227a57de3 wrote tests for virtual tables 2021-05-11 01:05:54 -05:00
Joshua Wise
b782198a5d slightly cleaned up code 2021-05-07 02:25:18 -05:00
Joshua Wise
1d8e9f6f86 implemented rought draft version of virtual tables 2021-05-07 01:50:07 -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
e208564193 implemented db.serialize() and deserialization 2021-05-04 18:47:20 -05:00
Joshua Wise
e8057ec4ab fixed database subclassing 2021-04-14 17:53:42 -05:00
Joshua Wise
f9663fc02c made Database class extendable, and fixed importing into jest environments 2021-03-30 12:31:07 -05:00
Joshua Wise
9babc04d24 replace monkey patching prooperty with WeakSet 2020-12-19 13:18:05 -06:00
Tom Crockett
5c1e890206
Fix monkey patching bug + memory leak when running in Jest (#415) 2020-12-19 13:12:47 -06:00
Joshua Wise
b1ec867dd0 documented undocumented features, and moved pragma_mode from Database to Addon 2020-04-25 07:31:10 -05:00
Joshua Wise
ccf0380679 removed "memory" option when opening new databases 2020-04-22 18:56:14 -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
Dan Barela
883fd0b17e Use bindings to load the .node file 2020-01-07 08:22:29 -07:00
Dan Barela
84274da175 remove the bindings dependency 2020-01-06 14:01:38 -07: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 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
91531b7b33 removed todo comments 2019-01-15 00:40:42 -05:00
Joshua Wise
32d4e03771 unlink failed backups when a prior file didnt exist 2019-01-15 00:30:18 -05:00
Joshua Wise
2f56287cb1 removed todo comment 2019-01-14 22:23:15 -05:00
Joshua Wise
f668daf227 todo comment 2019-01-14 21:28:05 -05:00
Joshua Thomas Wise
3aff15d146 removed todo comment 2019-01-14 20:06:24 -05:00
Joshua Thomas Wise
9390d6371c updated todo comment 2019-01-14 19:59:43 -05:00
Joshua Thomas Wise
bbbdd8f8f3 improved timeliness of backup progress callback 2019-01-14 19:40:07 -05:00
Joshua Thomas Wise
1ea8ca09a7 improved backup operation 2019-01-14 17:52:42 -05:00
Joshua Thomas Wise
44190ff57e made db.backup an async function 2019-01-14 15:50:24 -05:00
Joshua Thomas Wise
e825bd835b started reworking online backups to be a managed operation 2019-01-14 15:19:34 -05:00
Joshua Thomas Wise
507ab1bd17 implemented the "verbose" database option 2019-01-11 14:59:22 -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 Wise
be5d008fab reworked backup API to be synchronous 2018-12-24 03:46:11 -05:00
Joshua Wise
68223e7872 removed unused functions 2018-12-23 02:33:02 -05:00
Joshua Wise
b79853072d tweak 2018-12-22 23:41:36 -05:00
Joshua Wise
84a3df0407 added db.backup() method 2018-12-22 23:41:03 -05:00
Joshua Thomas Wise
13a4021776 added backwards support for node v8.0.0 2018-12-17 12:57:07 -05:00