Hello
I need to help my query. I have read everything and cannot figure it out
I have 6 colums
[
{
"_id":"54c163f6e4b0ae7c7ace2af7",
"day":"Monday",
"f1":0.0,
"f2":20.0,
"f3":20.0,
"f4":20.0,
"f5":20.0,
I need to return the day Column if it says Monday and only the columns greater then 0.
I have tried dozen of queries but I cant figure it out.
return '{"$or":[{"day":{"$regex":"^'Monday'", "$options":"i"}},{"f1":{"$regex":"^'0'", "$options":"i"}}]}';