aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/nodes/sql_literal.rb
blob: 73575a7d4922387fae753c6aed0197f110a68ed0 (plain) (tree)
1
2
3
4
5
6
7
8
                             

              
                             
                               
                                
                                    
                                     



                                


       
# frozen_string_literal: true
module Arel
  module Nodes
    class SqlLiteral < String
      include Arel::Expressions
      include Arel::Predications
      include Arel::AliasPredication
      include Arel::OrderPredications

      def encode_with(coder)
        coder.scalar = self.to_s
      end
    end
  end
end