2010-08-16 17:56:56 -04:00
|
|
|
require 'arel/crud'
|
|
|
|
|
2010-09-14 18:20:24 -04:00
|
|
|
require 'arel/expressions'
|
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
|
|
|
|
|
|
|
#### these are deprecated
|
|
|
|
# The Arel::Relation constant is referenced in Rails
|
|
|
|
require 'arel/relation'
|
2010-09-10 21:19:31 -04:00
|
|
|
require 'arel/expression'
|
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'
|
2010-08-13 18:30:22 -04:00
|
|
|
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-08-13 11:11:08 -04:00
|
|
|
#### these are deprecated
|
2010-08-23 17:24:00 -04:00
|
|
|
require 'arel/deprecated'
|
2010-08-12 14:24:16 -04:00
|
|
|
require 'arel/sql/engine'
|
2010-08-12 18:26:04 -04:00
|
|
|
require 'arel/sql_literal'
|
2010-08-13 11:11:08 -04:00
|
|
|
####
|
|
|
|
|
2010-09-24 19:48:07 -04:00
|
|
|
module Arel
|
2010-09-24 19:49:21 -04:00
|
|
|
VERSION = '2.0.0.dev'
|
2010-09-24 19:48:07 -04:00
|
|
|
end
|
2010-09-26 19:06:37 -04:00
|
|
|
|
|
|
|
def sql raw_sql
|
|
|
|
Arel::Nodes::SqlLiteral.new raw_sql
|
|
|
|
end
|