lib/rasti/db/nql/nodes/comparisons/like.rb in rasti-db-2.0.1 vs lib/rasti/db/nql/nodes/comparisons/like.rb in rasti-db-2.1.0

- old
+ new

@@ -3,11 +3,11 @@ module NQL module Nodes module Comparisons class Like < Base - def filter_condition - Sequel.ilike(field.identifier, argument.value) + def filter_condition(collection_class) + Sequel.ilike(attribute.identifier(collection_class), argument.value) end end end end \ No newline at end of file