151 Commits
Author SHA1 Message Date
Mahesh Bandara Wijerathna 710c41a542 Merge Node-API refactor from upstream 2026-07-24 15:29:56 +05:30
Mahesh Bandara WijerathnaandhMihaiDavid ac1c54b096 Fix small typo in api.md
Co-authored-by: hMihaiDavid <[email protected]>
2025-03-15 03:01:27 +05:30
Mahesh Bandara WijerathnaandJoshua Wise 9813d726af Update verbiage of various documentation
Co-authored-by: Joshua Wise <[email protected]>
2025-01-29 17:20:45 +05:30
Mahesh Bandara WijerathnaandKeith Jackson a8167c201b Add API doc note about statement finalization
* Add note about statement finalization

* PR comment

Co-authored-by: Keith Jackson <[email protected]>
2025-01-29 09:35:05 +05:30
Mahesh Bandara WijerathnaandNiklas Wenzel f7ee3351e8 Clarify error handling behavior for nested transactions in docs
Co-authored-by: Niklas Wenzel <[email protected]>
2024-04-05 10:00:58 +05:30
Mahesh Bandara WijerathnaandCédric Van Rompay b1656b9b3f Fix result code type in SQliteError documentation
Fixes https://github.com/WiseLibs/better-sqlite3/issues/1007

Co-authored-by: Cédric Van Rompay <[email protected]>
2023-09-05 12:31:01 +05:30
Mahesh Bandara Wijerathna 8416dad76c Update key() and rekey() documentation 2023-02-16 07:07:39 +05:30
284281afac Add key() and rekey() functions to Database which accepts password as a Buffer (#41)
Co-authored-by: Michel Verbraak <[email protected]>
2023-02-11 07:26:24 +05:30
Mahesh Bandara Wijerathna c7e9215645 Add better-sqlite3 dependency information to documentation 2022-01-20 00:48:59 +05:30
Mahesh Bandara Wijerathna dcb9364fd3 Update api documentation 2022-01-19 20:23:41 +05:30
Joshua WiseandMahesh Bandara Wijerathna 928b2c582b implemented "nativeBinding" database option
(cherry picked from commit 9f6050a5620ffaaa032846e5daf558777db2a95b)
2022-01-19 20:21:49 +05:30
Joshua WiseandMahesh Bandara Wijerathna 3c5d4ac6f0 implemented statement.busy getter
(cherry picked from commit 539ff32b96213fbb033daa75303b94cbe9d95572)
2022-01-19 20:21:47 +05:30
Joshua WiseandMahesh Bandara Wijerathna dee45a5a1c added documentation for SqliteError, and improved error message for binding non-plain objects
(cherry picked from commit 0f871ba54af84146974719d704ac220b1a271a4d)
2022-01-19 20:14:03 +05:30
Mahesh Bandara Wijerathna e84a2334af Update documentation 2021-07-23 09:59:59 +05:30
Joshua Wise fea259846f improved documentation 2021-06-05 21:19:08 -05:00
Alexander PrinzhornandGitHub d52b13d662 Document empty string -> tmp db (#629) 2021-06-05 21:10:10 -05:00
Joshua Wise 1bdca43e56 improved documentation, added tests, and micro-optimizations 2021-05-12 17:36:11 -05:00
Joshua Wise b5a7424a6e updated api docs 2021-05-11 02:15:16 -05:00
Joshua Wise 880e168b85 wrote tests for virtual tables 2021-05-11 01:05:54 -05:00
Joshua Wise 442a750a02 updated api docs 2021-05-10 12:49:24 -05:00
Joshua Wise 88c9a107d0 added documentation for virtual tables 2021-05-10 03:55:39 -05:00
Joshua Wise df412b8d7d updated docs 2021-05-05 08:55:49 -05:00
Joshua Wise 6a4dba6225 updated docs 2021-05-05 08:54:30 -05:00
Tobias NießenandGitHub 2d572ac146 Fix typo in API docs (#613) 2021-05-04 20:27:47 -05:00
Joshua Wise c7d62b02bb updated docs 2021-05-04 19:58:57 -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 97c1c1e12a updated readme 2021-05-04 19:36:13 -05:00
Joshua Wise 0338ef4010 updated readme 2021-05-04 19:35:35 -05:00
Joshua Wise 1487b6c58c updated readme 2021-05-04 19:30:45 -05:00
Joshua Wise b7513bc7c2 implemented stmt.readonly property 2021-05-04 19:29:53 -05:00
Joshua Wise 9d1c349179 updated readme 2021-05-04 18:52:01 -05:00
Joshua Wise 17e8aa3469 updated readme 2021-05-04 18:50:08 -05:00
Joshua Wise 4225b39fd2 updated readme 2021-05-04 18:49:05 -05:00
Joshua Wise 4e0bab61c1 updated readme 2021-05-04 18:48:34 -05:00
Joshua Wise d51ad4a7f1 implemented db.serialize() and deserialization 2021-05-04 18:47:20 -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 79b4a7aafe tweaked docs 2020-04-25 07:38:26 -05:00
Joshua Wise ac1b5a62f2 tweaked docs 2020-04-25 07:37:24 -05:00
Joshua Wise dbfbf84648 tweaked docs 2020-04-25 07:36:36 -05:00
Joshua Wise 2bfc06dd78 tweaked docs 2020-04-25 07:35:46 -05:00
Joshua Wise 17c40bd28b documented undocumented features, and moved pragma_mode from Database to Addon 2020-04-25 07:31:10 -05:00
Joshua Wise a353d74f23 removed "memory" option when opening new databases 2020-04-22 18:56:14 -05:00
Joshua Wise d18136da18 updated docs 2020-04-22 17:40:44 -05:00
Joshua Wise 758650d7d6 removed db.checkpoint() method in favor of wal_checkpoint(RESTART) pragma 2020-04-22 12:05:52 -05:00
Alexander PrinzhornandGitHub 0da9da97cd pluck (#350) 2020-02-15 12:16:27 -06:00
Joshua Wise 3a7ec5d478 updated docs 2020-01-07 14:05:43 -05:00
Joshua Wise b863c87c10 updated docs 2020-01-07 14:05:18 -05:00
Victor BerchetandJoshua Wise c2cd545cd6 Create index if not exists (#303) 2020-01-07 14:00:08 -05:00
Joshua WiseandGitHub 601b1fedb9 Update api.md 2019-08-02 13:54:24 -04:00