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 received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to