Re: [sqlalchemy] different results by all() vs fetchall()

2014-12-30 Thread Mehdi
Now i get it :) Thanks. On Tuesday, December 30, 2014 8:51:14 PM UTC+3:30, Michael Bayer wrote: > > > > Mehdi > wrote: > > Hi > This is making me mad :( > I have two tables without defined relations in their models(i have to make > my app works with given db) and this is how i make a join query:

Re: [sqlalchemy] different results by all() vs fetchall()

2014-12-30 Thread Michael Bayer
Mehdi wrote: > Hi > This is making me mad :( > I have two tables without defined relations in their models(i have to make my > app works with given db) and this is how i make a join query: > subq = DBSession.query(models.ZT_420_001.ma_master_code, > models.ZT_420_001.ma_region, >

[sqlalchemy] different results by all() vs fetchall()

2014-12-30 Thread Mehdi
Hi This is making me mad :( I have two tables without defined relations in their models(i have to make my app works with given db) and this is how i make a join query: subq = DBSession.query(models.ZT_420_001.ma_master_code, models.ZT_420_001.ma_region, models.ZT_420_0