Hi there,
Consider I have a schema for my products as follows:
[{ "Name":"p1", "Price":10000, "Discount":0.5 }, { "Name":"p2", "Price":20000, "Discount":0.3 }]
I want to find products whose price after discount is less than 7000.
like the following predicate:
p=>p.Price*(1-p.Discount)<7000
Hi there, Consider I have a schema for my products as follows:
[{ "Name":"p1", "Price":10000, "Discount":0.5 }, { "Name":"p2", "Price":20000, "Discount":0.3 }]
I want to find products whose price after discount is less than 7000. like the following predicate: p=>p.Price*(1-p.Discount)<7000
How can I write this query in redissearch?
Thanks