exqlite
exqlite copied to clipboard
An SQLite3 driver for Elixir
* Updates tool versions to latest elixir 1.17 and otp 27 * Adds elixir 1.17 and otp 27 to the test matrix * Update locked dependencies We will be dropping...
This PR adds a helper NIF that can be used to bulk-insert "unlimited" number of rows. Should be enough to clоse https://github.com/elixir-sqlite/exqlite/issues/129 once it gets into `ecto_sqlite3` Regarding [performance:](https://github.com/elixir-sqlite/exqlite/issues/129#issuecomment-937400559) XQLite...
Attempt at https://github.com/elixir-sqlite/exqlite/pull/301#discussion_r1794894228 This PR makes multi_step allocate cells array once, and return an error tuple if that allocation fails. Some benchmarks (the "10 rows" one might need to be...
Handles https://github.com/elixir-sqlite/exqlite/pull/298#discussion_r1792822558 > [...] In the future, it should be called once we are done with the statement rather than before using it since otherwise SQLite would be [wasting](https://github.com/python/cpython/issues/89121#issuecomment-1093926075) resources...
Continues #299
According to the docs this version would try to allocate small binaries on the process heap, which seems to positively affect [benchmarks](https://github.com/ruslandoga/elixir-sqlite-bench) (xqlite uses this approach).