Module: Arel

Defined in:
lib/arel.rb,
lib/arel/crud.rb,
lib/arel/table.rb,
lib/arel/nodes/as.rb,
lib/arel/nodes/in.rb,
lib/arel/nodes/on.rb,
lib/arel/nodes/or.rb,
lib/arel/relation.rb,
lib/arel/visitors.rb,
lib/arel/nodes/and.rb,
lib/arel/nodes/avg.rb,
lib/arel/nodes/max.rb,
lib/arel/nodes/min.rb,
lib/arel/nodes/not.rb,
lib/arel/nodes/sum.rb,
lib/arel/nodes/top.rb,
lib/arel/attributes.rb,
lib/arel/deprecated.rb,
lib/arel/expression.rb,
lib/arel/nodes/join.rb,
lib/arel/nodes/lock.rb,
lib/arel/nodes/node.rb,
lib/arel/sql/engine.rb,
lib/arel/expressions.rb,
lib/arel/nodes/count.rb,
lib/arel/nodes/group.rb,
lib/arel/nodes/limit.rb,
lib/arel/nodes/unary.rb,
lib/arel/nodes/union.rb,
lib/arel/sql_literal.rb,
lib/arel/nodes/binary.rb,
lib/arel/nodes/except.rb,
lib/arel/nodes/exists.rb,
lib/arel/nodes/having.rb,
lib/arel/nodes/not_in.rb,
lib/arel/nodes/offset.rb,
lib/arel/nodes/values.rb,
lib/arel/predications.rb,
lib/arel/tree_manager.rb,
lib/arel/visitors/dot.rb,
lib/arel/nodes/between.rb,
lib/arel/nodes/matches.rb,
lib/arel/delete_manager.rb,
lib/arel/insert_manager.rb,
lib/arel/nodes/equality.rb,
lib/arel/nodes/function.rb,
lib/arel/nodes/grouping.rb,
lib/arel/nodes/ordering.rb,
lib/arel/select_manager.rb,
lib/arel/update_manager.rb,
lib/arel/visitors/mssql.rb,
lib/arel/visitors/mysql.rb,
lib/arel/nodes/intersect.rb,
lib/arel/nodes/less_than.rb,
lib/arel/nodes/not_equal.rb,
lib/arel/nodes/union_all.rb,
lib/arel/visitors/oracle.rb,
lib/arel/visitors/sqlite.rb,
lib/arel/visitors/to_sql.rb,
lib/arel/nodes/assignment.rb,
lib/arel/nodes/inner_join.rb,
lib/arel/nodes/outer_join.rb,
lib/arel/visitors/visitor.rb,
lib/arel/nodes/select_core.rb,
lib/arel/nodes/sql_literal.rb,
lib/arel/nodes/string_join.rb,
lib/arel/nodes/table_alias.rb,
lib/arel/visitors/join_sql.rb,
lib/arel/nodes/greater_than.rb,
lib/arel/visitors/where_sql.rb,
lib/arel/visitors/postgresql.rb,
lib/arel/attributes/attribute.rb,
lib/arel/compatibility/wheres.rb,
lib/arel/nodes/does_not_match.rb,
lib/arel/visitors/depth_first.rb,
lib/arel/nodes/delete_statement.rb,
lib/arel/nodes/insert_statement.rb,
lib/arel/nodes/select_statement.rb,
lib/arel/nodes/update_statement.rb,
lib/arel/visitors/order_clauses.rb,
lib/arel/nodes/less_than_or_equal.rb,
lib/arel/nodes/unqualified_column.rb,
lib/arel/nodes/greater_than_or_equal.rb

Defined Under Namespace

Modules: Attributes, Compatibility, Crud, Expression, Expressions, Nodes, Predications, Relation, Sql, Visitors Classes: DeleteManager, InsertManager, SelectManager, SqlLiteral, Table, TreeManager, UpdateManager

Constant Summary collapse

VERSION =
'2.0.9'
Node =

Convenience Alias

Arel::Nodes::Node
InnerJoin =
Nodes::InnerJoin
OuterJoin =
Nodes::OuterJoin
Attribute =
Attributes::Attribute

Class Method Summary collapse

Class Method Details

.sql(raw_sql) ⇒ Object



34
35
36
# File 'lib/arel.rb', line 34

def self.sql raw_sql
  Arel::Nodes::SqlLiteral.new raw_sql
end