Registry / database / sqlite3-ruby

sqlite3-ruby

JSON →
library1.3.3rbrubygemsunverified

This module allows Ruby programs to interface with the SQLite3 database engine.

gem install sqlite3-ruby
INSTALL
IMPORT
SIG · SQLITE3-RUBY
S
sqlite3-ruby
databaserubyv1.3.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SQLite3
require 'sqlite3'

Create an in-memory SQLite database, insert a row, and query it.

require 'sqlite3' db = SQLite3::Database.new ':memory:' db.execute 'CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT)' db.execute 'INSERT INTO users (name) VALUES (?)', ['Alice'] puts db.execute('SELECT name FROM users').flatten
Debug
Known issues
breakingThis gem is not compatible with SQLite 2.x.
fix
Ensure SQLite3 (version 3.x) is installed on your system.
affects: >= 1.0.0
Upgrade
Version history
1.3.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
14
Meta
1
OpenAI (training)
1
Resources
sqlite3-ruby — gem install sqlite3-ruby · libregistry