Page 1 of 1

$in in params.criteria

Posted: Wed Jan 16, 2019 11:01 am
by Amirul Momenin5979205

I want to use $in
I have a list of ItemID
I want to query just those
pls reply me asap

params.criteria = {

Code: Select all

    "$and":[{ 
            "ActiveYesNo": { 
                 "$eq": true 
             }, 

             "ItemID": { 
                 "$in": ("5b6ca6820f0d31345c610351","5b6ca6820f0d31345c610352") 
             }, 

        }] 

};


$in in params.criteria

Posted: Wed Jan 16, 2019 11:17 am
by Serhii Kulibaba

Hello Amirul,

Please see this documentation how to use $in correctly: https://docs.appery.io/reference#sect...
Please use [] instead of ()