aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/arel/alias_predication.rb
blob: 4abbbb7ef6def42c3ee431e1bd3ede5d7f176ff8 (plain) (blame)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

module Arel # :nodoc: all
  module AliasPredication
    def as(other)
      Nodes::As.new self, Nodes::SqlLiteral.new(other)
    end
  end
end