Sha256: ed46bddb3dac3ba56399fe2c1f764110f2a5c1cbbf9b23acf161d2ffcf54d9d7

Contents?: true

Size: 264 Bytes

Versions: 11

Compression:

Stored size: 264 Bytes

Contents

module Arel
  module Nodes
    # https://www.postgresql.org/docs/9.4/functions-json.html#FUNCTIONS-JSONB-OP-TABLE
    class JsonbKeyExists < 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_key_exists.rb
arel_toolkit-0.4.8 lib/arel/extensions/jsonb_key_exists.rb
arel_toolkit-0.4.7 lib/arel/extensions/jsonb_key_exists.rb
arel_toolkit-0.4.6 lib/arel/extensions/jsonb_key_exists.rb
arel_toolkit-0.4.5 lib/arel/extensions/jsonb_key_exists.rb
arel_toolkit-0.4.4 lib/arel/extensions/jsonb_key_exists.rb
arel_toolkit-0.4.3 lib/arel/extensions/jsonb_key_exists.rb
arel_toolkit-0.4.2 lib/arel/extensions/jsonb_key_exists.rb
arel_toolkit-0.4.1 lib/arel/extensions/jsonb_key_exists.rb
arel_toolkit-0.4.0 lib/arel/extensions/jsonb_key_exists.rb
arel_toolkit-0.3.0 lib/arel/extensions/jsonb_key_exists.rb