diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-09-19 13:12:08 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-09-19 16:27:51 -0400 |
| commit | 80aeba3d5e0269eb689d991ca0b8e281715113ed (patch) | |
| tree | 0c6096a8b9b1612a3b05ecf06b831d92938b071f /lib/sqlalchemy/sql/elements.py | |
| parent | 371f1a82c5981156a359f690923840d2627c9a6f (diff) | |
| download | sqlalchemy-80aeba3d5e0269eb689d991ca0b8e281715113ed.tar.gz | |
- 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.
Diffstat (limited to 'lib/sqlalchemy/sql/elements.py')
0 files changed, 0 insertions, 0 deletions
