A simple SQL generation DSL.
SYNOPSIS
include Seaquel
select.from(table('foobar')).where(column('name').equal('baz')).to_sql
# => %Q(SELECT * FROM "foobar" WHERE "name"='baz')
DESCRIPTION
Allows generating SQL from a Ruby DSL. Geared towards the rich possibilities of PostgreSQL, this library can generate standard SQL as well.
Please also have a look at flounder, Seaquels friendly companion - located one layer higher up our SQL stack, it automates much of the work you’ll be doing when you use Seaquel.
STATUS
Early alpha
WHY
Because nothing really worked at the time we wrote this. Really. We looked.