Thodoris Sotiropoulos and GitHub
50e51f2768
validate the parameters of table properly ( #1504 )
2026-07-28 20:03:08 -05:00
Joshua Wise
67da3d312e
fixed overly strict regression in parameter binding
2026-07-21 01:48:16 -05:00
Joshua Wise
df5a17def4
implemented Database#explain()
2026-07-21 01:06:49 -05:00
Joshua Wise
9b19ea39e9
implemented Statement#toString()
2026-07-21 00:42:02 -05:00
Joshua Wise
6e68dcc001
fixed tests for SqliteError
2026-07-20 23:40:21 -05:00
Joshua Wise and GitHub
8f20ead317
Refactored codebase to use node-addon-api ( #1498 )
...
* refactored codebase to use node-addon-api and publish with prebuilt binaries
* upgraded to sqlite 3.53.3
* fixed typo
* fixed test for windows
* mitigated performace regression from NAPI refactor
* mitigated performace regression from NAPI refactor
* mitigated performace regression from NAPI refactor
* mitigated performace regression from NAPI refactor
* fixed performance regression to surpass node:sqlite
* improved array optimization for large arrays
* further improved performance
* removed dead code
2026-07-20 23:15:34 -05:00
Alexander Prinzhorn and GitHub
3818e5966b
Increase timeout test because of GitHub Action ( #1351 )
2025-04-18 20:56:45 -05:00
Joshua Wise
292ef7adc0
added workaround for breaking change in sqlite build system for sqlite version 3.48.0
...
added tests for SQLITE_ENABLE_UPDATE_DELETE_LIMIT
2025-01-17 22:03:08 -06:00
Matthew McEachen and GitHub
52572ca1f9
Relax allowed timeout (GHA on macOS is slow) ( #1193 )
...
relax allowed timeout (GHA is slow)
2024-05-30 15:06:09 -05:00
1801031ae0
Update SQLite to version 3.45.2 ( #1173 )
...
* Update SQLite to version 3.45.2
* fix specs
---------
Co-authored-by: mceachen <[email protected] >
Co-authored-by: Matthew McEachen <[email protected] >
2024-04-09 19:11:52 -07:00
Joshua Wise
a60ff19b2c
updated test
2023-09-02 14:17:48 -05:00
Joshua Wise
57d99ad71d
updated test
2023-09-02 14:15:33 -05:00
Joshua Wise
45f80aea0c
updated test
2023-09-02 14:13:17 -05:00
Joshua Wise
9caac91897
updated test
2023-09-02 14:09:14 -05:00
Joshua Wise
31d1341b3d
updated test
2023-09-02 14:07:05 -05:00
Joshua Wise
53ad8a1031
updated test
2023-09-02 14:04:53 -05:00
Arimah Greene and GitHub
b86a3014ed
Fix out-of-bounds read in statement tail parser ( #996 )
...
* Fix out-of-bounds read in statement tail parser
* Add comment with link to tail parsing issue
* Fix missing increment in tail parser + tests
2023-05-02 18:11:28 -05:00
Ryusei Yamaguchi and GitHub
65b0278885
Fix virtual table limit offset ( #873 )
...
* Don't care limit and offset constraints of user-defined virtual tables
* Add a test case for #872
2022-10-12 10:36:44 -05:00
Joshua Wise
34a95b074b
fixed test
2022-01-18 20:15:14 -06:00
Joshua Wise
fa5bed9564
implemented "nativeBinding" database option
2022-01-18 17:45:57 -06:00
Joshua Wise
9d23ff880c
implemented statement.busy getter
2022-01-18 16:19:51 -06:00
Joshua Wise
94c7925f07
fixed bug in node 14 where empty buffers are bound as null
2021-07-19 00:13:37 -05:00
Joshua Wise
9de69cbffc
updated tests
2021-07-18 21:47:44 -05:00
Joshua Wise
d72777ce99
edited comment
2021-05-12 23:52:15 -05:00
Joshua Wise
189f5ba42c
fixed bug in edge case
2021-05-12 23:46:33 -05:00
Joshua Wise
27f6f1779a
added test
2021-05-12 21:17:05 -05:00
Joshua Wise
1bdca43e56
improved documentation, added tests, and micro-optimizations
2021-05-12 17:36:11 -05:00
Joshua Wise
6666420d3f
fixed test
2021-05-11 01:39:32 -05:00
Joshua Wise
880e168b85
wrote tests for virtual tables
2021-05-11 01:05:54 -05:00
Joshua Wise
b9dde13655
added directOnly option to db.aggregate()
2021-05-04 19:57:29 -05:00
Joshua Wise
c5e15e001b
added directOnly option to db.function()
2021-05-04 19:52:07 -05:00
Joshua Wise
b7513bc7c2
implemented stmt.readonly property
2021-05-04 19:29:53 -05:00
Joshua Wise
4aca8d4dae
removed HAVE_USLEEP
2021-05-04 18:56:46 -05:00
Joshua Wise
d51ad4a7f1
implemented db.serialize() and deserialization
2021-05-04 18:47:20 -05:00
Joshua Wise
f612f484af
made timing test even more lenient
2021-05-04 02:36:42 -05:00
Joshua Wise
be46b38584
made timing test more lenient
2021-05-04 02:33:39 -05:00
Joshua Wise
49b645b8ac
* 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
acfda67fd7
fixed database subclassing
2021-04-14 17:53:42 -05:00
Joshua Wise
99d5561906
made timing test more lenient
2021-03-30 16:48:40 -05:00
Joshua Wise
1329f46982
added github sponsorship information
2020-04-25 10:20:05 -05:00
Joshua Wise
cded047771
clean up worker threads in tests
2020-04-25 09:49:22 -05:00
Joshua Wise
6a1a1d50e0
added tests for unsafe mode and fixed bug
2020-04-25 09:14:52 -05:00
Joshua Wise
d0a8c557c8
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
a353d74f23
removed "memory" option when opening new databases
2020-04-22 18:56:14 -05:00
Joshua Wise
758650d7d6
removed db.checkpoint() method in favor of wal_checkpoint(RESTART) pragma
2020-04-22 12:05:52 -05:00
Joshua Wise
a202cebc32
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
b863c87c10
updated docs
2020-01-07 14:05:18 -05:00
mrawdon and Joshua Wise
dfb977d74e
Window test extension ( #307 )
...
* Export test extension for Windows
* Enabled integrity extension tests
Co-authored-by: Joshua Wise <[email protected] >
2020-01-07 13:57:38 -05:00
Joshua Wise
260b4d4e0e
added correct deploy key and cleaned up
2020-01-07 13:23:41 -05:00
Dan Barela
896bc22b15
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