An extra-lightweight Ruby gem for working with SQLite3 databases

Extralite is an extra-lightweight (~365 lines of C-code) SQLite3 wrapper for Ruby. It provides a single class with a minimal set of methods to interact with an SQLite3 database.FeaturesA variety of methods for different data access patterns: row as hash, row as array, single single row, single column, single value.Iterate over records with a block, or collect records into an array.Parameter binding.Correctly execute strings with multiple semicolon-separated queries (handy for creating/modifying schemas).Get last insert rowid.Get number of rows changed by last query.Load extensions (loading of extensions is autmatically enabled. You can find some useful extensions here: https://github.com/nalgeon/sqlean.).
An extra-lightweight Ruby gem for working with SQLite3 databases #ruby #rubydeveloper #rubyonrails #databases #gem #sqlite3 https://rubyonrails.ba/single/an-extra-lightweight-ruby-gem-for-working-with-sqlite3-databases

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles