v0.5.0 - Rewrite
This release contains breaking changes as a result of a rewrite.
There are a lot of changes in the API, mostly focused on making it more easier to use and performant.
The API now is similar to that of better-sqlite3
.
Updates:
- Many performance optimizations, FFI layer now leverages
fastapi
calls. Now much more faster thanx/sqlite
(WASM based), and also faster than Node.jsbetter-sqlite3
. - Methods like
queryArray/Object
have been removed in favor of using prepared statements (which they previously were just a wrapper of). - Transactions API has been added.
PreparedStatement
renamed toStatement
and its API has been changed quite a lot.
Check out the documentation here for this new version.