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
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