I tried this:
var ageQuery = db.people.where("age").between(20,50);
var anyQuery = db.people.where("name").anyOf(["Elric","Zula"]);
$.when(ageQuery, anyQuery).then(function(age, any) {
But to loop over the results using .each you end up with an async operation again. I know I'm missing something obvious here..
Nevermind - I just used a transaction. So nice.