[storm] Fwd: Re: Re: multiple join's

Eduardo Willians edujurista at gmail.com
Thu Jan 15 11:03:12 GMT 2009


> 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>



More information about the storm mailing list