You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to filter out for the objects that have , let's say value attribute.
How to perform "lower than A" AND "greater than B" query?
Using query = Diametric::Query.new(Badge, nil, true).filter(:>, :value, 15).filter(:<, :value, 40) won't work, as the query.data.inspect returns
so in the end both the lower/greater than signs are applied to the same ?valuevalue.
Is there any way I can enforce diametric to take 2 additional arguments (apart from writing a custom query in the string?)
Regards,
Michal
The text was updated successfully, but these errors were encountered:
I would like to filter out for the objects that have , let's say value attribute.
How to perform "lower than A" AND "greater than B" query?
Using
query = Diametric::Query.new(Badge, nil, true).filter(:>, :value, 15).filter(:<, :value, 40)
won't work, as thequery.data.inspect
returnsso in the end both the lower/greater than signs are applied to the same
?valuevalue
.Is there any way I can enforce diametric to take 2 additional arguments (apart from writing a custom query in the string?)
Regards,
Michal
The text was updated successfully, but these errors were encountered: