Sha256: acd31d3da0b64635ef5b7051280d5ddf643713c02ae50aabe1784561663d2bfa

Contents?: true

Size: 329 Bytes

Versions: 2

Compression:

Stored size: 329 Bytes

Contents

module Rasti
  module DB
    module NQL
      module Nodes
        module Comparisons
          class Include < Base

            def filter_condition(collection_class)
              Sequel.ilike(attribute.identifier(collection_class), "%#{argument.value}%")
            end

          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rasti-db-2.2.0 lib/rasti/db/nql/nodes/comparisons/include.rb
rasti-db-2.1.0 lib/rasti/db/nql/nodes/comparisons/include.rb