Flounder is a way to write SQL simply in Ruby. It deals with everything BUT
object relational mapping.
SYNOPSIS
require 'flounder'
d = Flounder.domain do |dom|
dom.entity(:users, :user, 'users') do |user|
user.has_many :giraffes, :id => :user_id
end
dom.entity(:giraffes, :giraffe, 'all_giraffes') do |giraffe|
giraffe.belongs_to :user, :user_id => :id
end
end
d[:users].where(:id.lt => 10).to_a
d[:users].connect(:giraffes)
STATUS
Somewhat cooled off beta phase - Most features are stable now and the API
doesn't change radically anymore.
LICENSE
MIT License.