Thanks very much for pointing to right direction. So all i had to do is
using *sqlalchemy.ext.mutable *to make the *ARRAY *type mutable. I did a
little example code works fine with *psycopg2* -
import sqlalchemy as sa
import sqlalchemy.event as event
import sqlalchemy.orm as orm
import
ARRAY needs mutability to detect appends:
http://docs.sqlalchemy.org/en/latest/orm/extensions/mutable.html?highlight=mutable#sqlalchemy.ext.mutable.MutableList
On 03/12/2017 06:59 AM, Asif Mahmud wrote:
Hi,
I'm not sure if it's a bug or I'm missing something. The thing is, I
tried to
Hi,
I'm not sure if it's a bug or I'm missing something. The thing is, I tried
to register to *after_update ORM event to watch out for changes made to an
existing row entry which has ARRAY *type column in it. But the event isn't
firing when I append something to the *ARRAY *.
Is this normal