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

              
                             
                               
                                
                                    
                                     



                                
       


                                

     
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

    class BindParam < SqlLiteral
    end
  end
end