Commit Graph

74 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
1d8e9f6f86 implemented rought draft version of virtual tables 2021-05-07 01:50: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
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 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
84a3df0407 added db.backup() method 2018-12-22 23:41:03 -05:00
Joshua Thomas Wise
2d7109f2e8 changed code style 2018-11-19 14:07:54 -05:00
Joshua Wise
d324f6eaa5 added option to set busy timeout on database connection 2018-10-08 22:28:46 -04:00
Joshua Wise
e8a931550e removed bindings and package-require deps 2018-10-04 14:25:25 -04:00
Joshua Wise
ff9a93e33a added stubbed .aggregate() method 2018-09-23 13:44:42 -04:00
Joshua Wise
cc98bd2e6c changed .register() to .function(), fixed bug where inTransaction would be true when database was closed 2018-09-21 20:15:44 -04:00
Joshua Wise
28922b3c73 added support for :memory: databases 2018-09-16 20:56:16 -04:00
Joshua Wise
c9ab363360 added transaction library function 2018-06-13 04:54:53 -04:00
Joshua Wise
1702539ff4 converted more files to es6 2018-01-20 04:26:06 -05:00
Joshua Wise
ad3809a6c3 rewrote some code as es6 2018-01-20 02:08:19 -05:00
Joshua Wise
61e1bdd67b added helpful error throw 2017-08-24 18:11:47 -04:00
Joshua Wise
ed69af45bc added fileMustExist option to database constructor 2017-08-24 18:08:01 -04:00
Joshua Wise
7d75547533 reworked db.checkpoint() 2017-06-06 00:48:53 -04:00
Joshua Wise
fc1553f9c3 fixed typo 2017-06-02 08:13:30 -04:00
Joshua Wise
3f4a5fde61 removed Int64 2017-06-01 23:45:51 -04:00
Joshua Wise
0372d31429 removed Int64#value function 2017-05-26 22:48:26 -04:00
Joshua Wise
3151683cb6 added tests for error codes 2017-05-26 21:45:25 -04:00
Joshua Wise
64075708f8 added checkpoint method 2017-05-19 01:33:56 -04:00
Joshua Wise
74ab7d08da made progress on the database object 2017-05-18 22:16:01 -04:00
Joshua Wise
35c1d200b7 removed periods from error messages 2017-05-14 02:38:11 -04:00
Joshua Wise
01ca9388e8 multiple custom aggregates can be registered with the same name but different argument counts 2017-05-13 22:12:41 -04:00
Joshua Wise
32e5d29536 added early check for generator functions 2017-04-23 21:40:53 -04:00
Joshua Wise
7cca024061 proof-of-concept with generators 2017-04-22 13:41:24 -04:00
Joshua Thomas Wise
4f8ea38c87 ambiguous options are not allowed 2017-04-14 17:19:25 -04:00
Joshua Thomas Wise
104179164b upon registration, registered functions will default to the safeIntegers setting of the the database 2017-04-12 20:37:37 -04:00