Database where filter

This forum contains topics that were moved from Get Satisfaction
Mark7294305
Posts: 0
Joined: Fri Dec 26, 2014 2:10 am

Database where filter

Post by Mark7294305 »

Hello Support
I have created a rest service where it query my appery database. I want to create a where query on a column that returns any row value that is 30 or greater but less than 50 so that is (30-49). How can I achieve this?

Thanks

Mark7294305
Posts: 0
Joined: Fri Dec 26, 2014 2:10 am

Database where filter

Post by Mark7294305 »

ok I figured it out. The answer is

{"Column": { '$gte' : 30 , '$lt' : 50 }}

Serhii Kulibaba
Posts: 147
Joined: Tue Aug 27, 2013 1:47 pm

Database where filter

Post by Serhii Kulibaba »

Hello Mark,

Thank you for update! Glad it works now!

Post Reply