aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/alias_predication.rb
blob: f42e9ee1a6afb3f85a2b03c12f3e8f454b8de62f (plain) (blame)
1
2
3
4
5
6
7
module Arel
  module AliasPredication
    def as other
      Nodes::As.new self, Nodes::SqlLiteral.new(other)
    end
  end
end