Help with SQLAlchemy

2013-04-13 Thread Biswas, Pinakee
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: I am using UPDATE query on SQLAlchemy session as follows: p =

Re: Help with SQLAlchemy

2013-04-13 Thread Laurent DAVERIO
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,

Re: Help with SQLAlchemy

2013-04-13 Thread Werner
Hi, I don't use Pylons (at least not yet), but use SA. On 13/04/2013 12:12, Biswas, Pinakee wrote: 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: I am

Re: Help with SQLAlchemy

2013-04-13 Thread León Domingo
Hi, I have a similar problem and I've found out one thing. If I insert or update using Table (schema.Table) changes are not committed to the database. dbs = DBSession meta = MetaData(bind=dbs.bind) table = Table('foo', autoload=True) dbs.execute(table.update(dict(foo_id=1),