Sha256: f946ec4da00740d2fa4487c2147c70d18b407f36c1c362e8d73ac9c89a2526d4

Contents?: true

Size: 268 Bytes

Versions: 11

Compression:

Stored size: 268 Bytes

Contents

module Arel
  module Nodes
    # https://www.postgresql.org/docs/9.4/functions-json.html#FUNCTIONS-JSONB-OP-TABLE
    class JsonbAnyKeyExists < Arel::Nodes::InfixOperation
      def initialize(left, right)
        super(:'?|', left, right)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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