Sha256: af628008941383fce95e1c4dd21d72a331ba56c808e8afb3c1089b4683067336

Contents?: true

Size: 333 Bytes

Versions: 39

Compression:

Stored size: 333 Bytes

Contents

# frozen_string_literal: true

module Arel # :nodoc: all
  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

Version data entries

39 entries across 39 versions & 4 rubygems

Version Path
activerecord-6.0.6.1 lib/arel/nodes/sql_literal.rb
activerecord-6.0.6 lib/arel/nodes/sql_literal.rb
activerecord-6.0.5.1 lib/arel/nodes/sql_literal.rb
activerecord-6.0.5 lib/arel/nodes/sql_literal.rb
activerecord-6.0.4.8 lib/arel/nodes/sql_literal.rb
activerecord-6.0.4.7 lib/arel/nodes/sql_literal.rb
activerecord-6.0.4.6 lib/arel/nodes/sql_literal.rb
activerecord-6.0.4.5 lib/arel/nodes/sql_literal.rb
activerecord-6.0.4.4 lib/arel/nodes/sql_literal.rb
activerecord-6.0.4.3 lib/arel/nodes/sql_literal.rb
activerecord-6.0.4.2 lib/arel/nodes/sql_literal.rb
activerecord-6.0.4.1 lib/arel/nodes/sql_literal.rb
activerecord-6.0.4 lib/arel/nodes/sql_literal.rb
activerecord-6.0.3.7 lib/arel/nodes/sql_literal.rb
activerecord-6.0.3.6 lib/arel/nodes/sql_literal.rb
activerecord-6.0.3.5 lib/arel/nodes/sql_literal.rb
activerecord-6.0.3.4 lib/arel/nodes/sql_literal.rb
activerecord-6.0.3.3 lib/arel/nodes/sql_literal.rb
activerecord-6.0.3.2 lib/arel/nodes/sql_literal.rb
activerecord-6.0.3.1 lib/arel/nodes/sql_literal.rb