> companies = store.find(Company, Company.id.is_in(company_ids)) > > There is probably a more efficient way of doing this. >
Are you sure this gonna work? I tried this: >>> res2 = store.find(Client, Client.cpf.is_in(result)) And I got this: TypeError: Expected int, found <class 'app.model.tables.Client'>: <app.model.tables.Client object at 0x018DF610> -- storm mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/storm
