method
as
v8.1.1 -
Show latest stable
- Class:
Arel::AliasPredication
as(other)public
No documentation available.
# File activerecord/lib/arel/alias_predication.rb, line 5
def as(other)
other = other.name if other.is_a?(Symbol)
Nodes::As.new self, Nodes::SqlLiteral.new(other, retryable: true)
end