Registry / database / arel
library9.0.0rbrubygemsunverified

Arel is a SQL AST manager for Ruby that simplifies generation of complex SQL queries.

gem install arel
INSTALL
IMPORT
SIG · AREL
A
arel
databaserubyv9.0.0
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.

Arel
require 'arel'

Build a SQL query using Arel

require 'arel' table = Arel::Table.new(:users) query = table.project(Arel.star).where(table[:name].eq('John')) query.to_sql # => "SELECT * FROM users WHERE name = 'John'"
Debug
Known issues

No known issues recorded.

Upgrade
Version history
9.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
1
Resources
arel — gem install arel · libregistry