1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/lib/arel.rb

36 lines
699 B
Ruby
Raw Normal View History

require 'arel/crud'
require 'arel/factory_methods'
2010-09-14 18:20:24 -04:00
require 'arel/expressions'
require 'arel/predications'
2012-02-22 09:25:10 -05:00
require 'arel/window_predications'
require 'arel/math'
require 'arel/alias_predication'
require 'arel/order_predications'
2010-08-12 14:24:16 -04:00
require 'arel/table'
2010-08-12 17:55:31 -04:00
require 'arel/attributes'
2010-08-16 20:44:48 -04:00
require 'arel/compatibility/wheres'
2010-08-13 15:26:06 -04:00
2010-09-23 18:26:08 -04:00
require 'arel/visitors'
2010-09-23 14:45:29 -04:00
2010-08-12 19:19:54 -04:00
require 'arel/tree_manager'
require 'arel/insert_manager'
require 'arel/select_manager'
2010-08-14 21:29:32 -04:00
require 'arel/update_manager'
2010-08-18 14:32:44 -04:00
require 'arel/delete_manager'
2010-08-12 18:22:26 -04:00
require 'arel/nodes'
2010-08-12 17:55:31 -04:00
2010-09-24 19:48:07 -04:00
module Arel
2013-11-18 14:42:00 -05:00
VERSION = '5.0.0'
2010-09-26 19:06:37 -04:00
def self.sql raw_sql
Arel::Nodes::SqlLiteral.new raw_sql
end
def self.star
sql '*'
end
2010-11-29 18:44:02 -05:00
## Convenience Alias
Node = Arel::Nodes::Node
2010-09-26 19:06:37 -04:00
end