method
from
v7.1.3.4 -
Show latest stable
- Class:
Arel::SelectManager
from(table)public
No documentation available.
# File activerecord/lib/arel/select_manager.rb, line 85
def from(table)
table = Nodes::SqlLiteral.new(table) if String === table
case table
when Nodes::Join
@ctx.source.right << table
else
@ctx.source.left = table
end
self
end