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

Eduardo Willians edujurista at gmail.com
Mon Jan 19 21:09:46 GMT 2009


Im gonna try this time.

I think the answer is simple, so simple that I think I'm missing something.

At first example:

result = store.find(Company, Employee.company_id == Company.id,
Employee.name == "bla1", Employee.name = "bla2", Employee.name ==
"bla3")

At your case, I think it would be something like this:

result = store.find(DreamTheme, DreamLog.id ==
DreamTheme.dream_log_id, DreamLog.user_id == x, DreamTheme.name == y)

Let me know if it helped or if my answer is just stupid.

in peace,

Eduardo Willians



More information about the storm mailing list