[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: - Added a new type-level modifier :meth:`.TypeEngin
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2015-09-19 20:29:11
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/80aeba3d5e02/ Changeset: 80aeba3d5e02 Branch: None User: zzzeek Date: 2015-09-19 20:27:51+00:00 Summary: - Added a new type-level modifier :meth:`.TypeEngine.evaluates_none` which indicates to the ORM that a positive set of None should be persisted as the value NULL, instead of omitting the column from the INSERT statement. This feature is used both as part of the implementation for :ticket:`3514` as well as a standalone feature available on any type. fixes #3250 - add new documentation section illustrating the "how to force null" use case of #3250 - alter our change from #3514 so that the class-level flag is now called "should_evaluate_none"; so that "evaluates_none" is now a generative method. Affected #: 7 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. |