Re: [sqlalchemy] joined table inheritance child table query return different object after insertion

2015-06-23 Thread Mike Bayer
On 6/23/15 6:06 AM, Kevin Qiu wrote: Thanks for response. How do you delete the joined table object of ProjApp. A direct delete won't do: mydb.session.delete(projApp) mydb.session.commit() the following error arises: "sqlalchemy.exc.ProgrammingError: (ProgrammingError) relation "APPLICATION"

Re: [sqlalchemy] joined table inheritance child table query return different object after insertion

2015-06-23 Thread Kevin Qiu
Thanks for response. How do you delete the joined table object of ProjApp. A direct delete won't do: mydb.session.delete(projApp) mydb.session.commit() the following error arises: "sqlalchemy.exc.ProgrammingError: (ProgrammingError) relation "APPLICATION" does not exist LINE 2: FROM "APPLICATION" J