Sha256: a4acb55b6767ad6ebf6cea450884d526e5fb571aa67b6a3108b5411934b23eeb

Contents?: true

Size: 520 Bytes

Versions: 10

Compression:

Stored size: 520 Bytes

Contents

# rubocop:disable Naming/MethodName
# rubocop:disable Naming/UncommunicativeMethodParamName

module Arel
  module Nodes
    # https://www.postgresql.org/docs/10/sql-update.html
    class CurrentOfExpression < Arel::Nodes::Unary
    end
  end

  module Visitors
    class ToSql
      def visit_Arel_Nodes_CurrentOfExpression(o, collector)
        collector << 'CURRENT OF '
        collector << o.expr
      end
    end
  end
end

# rubocop:enable Naming/MethodName
# rubocop:enable Naming/UncommunicativeMethodParamName

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
arel_toolkit-0.4.9 lib/arel/extensions/current_of_expression.rb
arel_toolkit-0.4.8 lib/arel/extensions/current_of_expression.rb
arel_toolkit-0.4.7 lib/arel/extensions/current_of_expression.rb
arel_toolkit-0.4.6 lib/arel/extensions/current_of_expression.rb
arel_toolkit-0.4.5 lib/arel/extensions/current_of_expression.rb
arel_toolkit-0.4.4 lib/arel/extensions/current_of_expression.rb
arel_toolkit-0.4.3 lib/arel/extensions/current_of_expression.rb
arel_toolkit-0.4.2 lib/arel/extensions/current_of_expression.rb
arel_toolkit-0.4.1 lib/arel/extensions/current_of_expression.rb
arel_toolkit-0.4.0 lib/arel/extensions/current_of_expression.rb