Vinny B
Posts: 0
Joined: Fri Aug 22, 2014 2:22 pm

List everything greater then zero

Hello

Code: Select all

My database returns: 

"_id":"48",

Code: Select all

     "f1":"50", 
     "f3":"30", 
     "f2":"0", 
     "f4":"0", 
     "f5":"0", 
     "day":"Monday", 
 { 
     "_id":"49", 

     "f1":"0", 
     "f3":"20", 
     "f2":"0", 
     "f4":"0", 
     "f5":"0", 
      "day":"Tuesday", 

I need to display in a list only Monday and everything greater then and equal to 1. So anything with a zero wont display in the list.

I have tried to follow example and instructions but I dont know the (where) code and how to map it .

I know I need to put code in the where clause but what code?

Thank you
Vinny

Return to “Issues”