[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: Support hybrids/composites with bulk updates
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-03-23 14:54:19
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/1fcbc17b7dd5/ Changeset: 1fcbc17b7dd5 Branch: master User: zzzeek Date: 2017-03-22 21:44:56+00:00 Summary: Support hybrids/composites with bulk updates The :meth:`.Query.update` method can now accommodate both hybrid attributes as well as composite attributes as a source of the key to be placed in the SET clause. For hybrids, an additional decorator :meth:`.hybrid_property.update_expression` is supplied for which the user supplies a tuple-returning function. Change-Id: I15e97b02381d553f30b3301308155e19128d2cfb Fixes: #3229 Affected #: 12 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |