lib/rasti/db/nql/nodes/conjunction.rb in rasti-db-2.0.1 vs lib/rasti/db/nql/nodes/conjunction.rb in rasti-db-2.1.0
- old
+ new
@@ -2,11 +2,11 @@
module DB
module NQL
module Nodes
class Conjunction < BinaryNode
- def filter_condition
- Sequel.&(*values.map(&:filter_condition))
+ def filter_condition(collection_class)
+ Sequel.&(*values.map { |value| value.filter_condition(collection_class) } )
end
end
end
end
\ No newline at end of file