Sha256: d2c761b858cebe8541c79968ba17ea7e3254ac9acf4867934d4266d06c186291

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 JsonbAllKeyExists < 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_all_key_exists.rb
arel_toolkit-0.4.8 lib/arel/extensions/jsonb_all_key_exists.rb
arel_toolkit-0.4.7 lib/arel/extensions/jsonb_all_key_exists.rb
arel_toolkit-0.4.6 lib/arel/extensions/jsonb_all_key_exists.rb
arel_toolkit-0.4.5 lib/arel/extensions/jsonb_all_key_exists.rb
arel_toolkit-0.4.4 lib/arel/extensions/jsonb_all_key_exists.rb
arel_toolkit-0.4.3 lib/arel/extensions/jsonb_all_key_exists.rb
arel_toolkit-0.4.2 lib/arel/extensions/jsonb_all_key_exists.rb
arel_toolkit-0.4.1 lib/arel/extensions/jsonb_all_key_exists.rb
arel_toolkit-0.4.0 lib/arel/extensions/jsonb_all_key_exists.rb
arel_toolkit-0.3.0 lib/arel/extensions/jsonb_all_key_exists.rb