Re: [sqlalchemy] AssertionError

2014-03-19 Thread lars van gemerden
clear and bug found .. thanks On Tuesday, March 18, 2014 4:51:36 PM UTC+1, Michael Bayer wrote: it means this: a1 = A(id=1) session.add(a1) session.commit() a2 = A(id=1) session.add(a2) # — error On Mar 18, 2014, at 9:59 AM, lars van gemerden la...@rational-it.comjavascript:

[sqlalchemy] a [probably] stupid query question

2014-03-19 Thread Richard Gerd Kuesters
hi, i have a simple stupid query question, which i didn't found any examples. let's say i have table A and B, and would like to reproduce in SA the following SQL: SELECT A.*, B.* FROM A, B WHERE A.b_id = B.id i would probably need a new fuse, too ... best regards, richard. -- You received

Re: [sqlalchemy] a [probably] stupid query question

2014-03-19 Thread AM
On 03/19/2014 02:07 PM, Richard Gerd Kuesters wrote: hi, i have a simple stupid query question, which i didn't found any examples. let's say i have table A and B, and would like to reproduce in SA the following SQL: SELECT A.*, B.* FROM A, B WHERE A.b_id = B.id i would probably need a new

Re: [sqlalchemy] a [probably] stupid query question

2014-03-19 Thread Richard Gerd Kuesters
thanks AM! i know that a join have the same effect (that's why i already told it's probably stupid question), but i was wondering if the select ... from tbl1, tbl2 is possible using SA. that's all :) cheers, richard. Em 2014-03-19 20:11, AM escreveu: On 03/19/2014 02:07 PM, Richard

Re: [sqlalchemy] a [probably] stupid query question

2014-03-19 Thread AM
On 03/19/2014 04:44 PM, Richard Gerd Kuesters wrote: thanks AM! i know that a join have the same effect (that's why i already told it's probably stupid question), but i was wondering if the select ... from tbl1, tbl2 is possible using SA. that's all :) cheers, richard. Em 2014-03-19