[sqlalchemy] sqlalchemy 0.7.1 pgarray

2011-07-06 Thread ddarko
t = Session.query(Tests).get(1) print(t.array) t.array.append(1) Session.commit() t.array - is an int. array in postgresql This simple construction does not change the content of the list after commit, and it seems to me that it should. Of course t.array = t.array + [1] works correctly. -- You

Re: [sqlalchemy] sqlalchemy 0.7.1 pgarray

2011-07-06 Thread Michael Bayer
On Jul 6, 2011, at 10:03 AM, ddarko wrote: t = Session.query(Tests).get(1) print(t.array) t.array.append(1) Session.commit() t.array - is an int. array in postgresql This simple construction does not change the content of the list after commit, and it seems to me that it should. Of