I am trying to query multiple IDs which is generated dynamically..
i try like this : to_get=[1,2,4,5] q= db.casedb.id in toget db(q).select(db.casedb.ALL) that results in whole set of records instead of id specified in to_get.. How to achieve this? have to loop through?