[Sqlalchemy-commits] commit/sqlalchemy: 2 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-03-14 23:40:05
|
2 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/f3b6f4f8da52/ Changeset: f3b6f4f8da52 Branch: None User: zzzeek Date: 2017-03-14 21:01:07+00:00 Summary: Add "empty in" strategies; default to "static" The longstanding behavior of the :meth:`.Operators.in_` and :meth:`.Operators.not_in_` operators emitting a warning when the right-hand condition is an empty sequence has been revised; a new flag :paramref:`.create_engine.empty_in_strategy` allows an empty "IN" expression to generate a simple boolean expression, or to invoke the previous behavior of dis-equating the expression to itself, with or without a warning. The default behavior is now to emit the simple boolean expression, allowing an empty IN to be evaulated without any performance penalty. Change-Id: I65cc37f2d7cf65a59bf217136c42fee446929352 Fixes: #3907 Affected #: 11 files https://bitbucket.org/zzzeek/sqlalchemy/commits/0a35ccc6bd1a/ Changeset: 0a35ccc6bd1a Branch: master User: zzzeek Date: 2017-03-14 23:39:37+00:00 Summary: Merge "Add "empty in" strategies; default to "static"" Affected #: 11 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. |