[sqlalchemy] Re: unexpected query behaviour

2010-07-13 Thread Ste
On Jul 11, 6:14 pm, Michael Bayer mike...@zzzcomputing.com wrote: On Jul 11, 2010, at 5:39 AM, Ste wrote: What I still don't understand is, that if I run the same query in pdb immediately after the raise, I get back None (which is what I would expected). I seem to recall MySQL had some

[sqlalchemy] Re: unexpected query behaviour

2010-07-11 Thread Ste
On Jul 10, 4:29 pm, Michael Bayer mike...@zzzcomputing.com wrote: On Jul 10, 8:37 am, Ste stefan.aeschbac...@gmail.com wrote: Hello Group, I see the following behaviour which I can not explain (don't know sqlalchemy too well though): I have the following table setup (heavily

[sqlalchemy] unexpected query behaviour

2010-07-10 Thread Ste
Hello Group, I see the following behaviour which I can not explain (don't know sqlalchemy too well though): I have the following table setup (heavily simplified): class WikiPage(Base): __tablename__ = 'wiki_page' id = Column(Integer, primary_key=True) name = Column(Unicode(40))