[Sqlalchemy-tickets] Issue #3775: Fetch Entity from returning clause (zzzeek/sqlalchemy)
Brought to you by:
zzzeek
From: Brice M. <iss...@bi...> - 2016-08-16 14:25:16
|
New issue 3775: Fetch Entity from returning clause https://bitbucket.org/zzzeek/sqlalchemy/issues/3775/fetch-entity-from-returning-clause Brice Maron: Hi, i wanted to use an "upsert" in my code and having an ORM entity back so i tried to use the methode described here: http://docs.sqlalchemy.org/en/latest/changelog/migration_11.html#change-3529 and add a returning(MyTable.my_field) it worked well. But i was unable to do "returning *" or to fetch the related entity... is there something i missed? |