Hi, > I need help with SQLAlchemy. I am not sure if this is the right forum to > ask the query but since we are using Pylons and SQLAlchemy is part of > the same, I thought asking here:
No, it's probably not the right forum, as SQLAlchemy is a dependency, not a part of Pylons (no more than Python, or Linux, are) :-) > p is returning 1 (number of rows matching the query). There is also no > exception thrown. But somehow the columns are not getting updated in the > Database. I am not sure what is going wrong here. Have you tried adding an explicit DBSession.commit()? Pyramid doesn't require it - or, rather, doesn't allow for it, since it already uses an transaction manager - but if I remember correctly, Pylons has no automatic transaction manager. > Would really appreciate if you could give me some pointers. You could also activate SQL query logging (from the development.ini file), so that you can make sure that the query is effectively passed to MySQL. Best of luck, Laurent. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
