Extralite 2.0 released #112
noteflakes
announced in
Updates
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Extralite 2.0 has been released!
Extralite is a gem for working with SQLite databases. It is blazing fast (up to 11x the performance of the sqlite3 gem), and provides a rich API for accessing database data in a variety of formats.
Version 2.0 introduces a number of new APIs, removes the old
PreparedStatement
API, and fixes a number of issues.New features
A new
Query
class represents a parametrized query that is prepared once and can be reused with different bound parameters. It provides a new, richer API for accessing query rows, enabling external iteration using an Enumerable iterator. Here's a quick overview of some of the new capabilities:Removed APIs
PreparedStatement
class is removed in favor of the newQuery
class.Bug Fixes
The Sequel Extralite adapter is improved, and Sequel migrations are fixed (ThreadPool#process does not work after call to Process.daemon #8). To use Extralite with Sequel, specify
extralite
as the connection URL scheme:Other improvements
Extralite repository: https://github.com/digital-fabric/extralite
API docs: https://www.rubydoc.info/gems/extralite
Thanks,
Sharon
Beta Was this translation helpful? Give feedback.
All reactions