diff options
author | Michael Birtwell <michael.birtwell@starleaf.com> | 2017-05-25 11:11:21 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-05-25 16:02:13 -0400 |
commit | f8a3f14e4f862a4bf0be591699f1f72815c72514 (patch) | |
tree | 23352abe2b074a5470ec37a2151c11b039b44e77 /lib/sqlalchemy/testing/assertsql.py | |
parent | de11c5217b4c62f86dfd05a28689159095ab1024 (diff) | |
download | sqlalchemy-f8a3f14e4f862a4bf0be591699f1f72815c72514.tar.gz |
Flatten operator precedence for comparison operators
The operator precedence for all comparison operators such as LIKE, IS,
IN, MATCH, equals, greater than, less than, etc. has all been merged
into one level, so that expressions which make use of these against
each other will produce parentheses between them. This suits the
stated operator precedence of databases like Oracle, MySQL and others
which place all of these operators as equal precedence, as well as
Postgresql as of 9.5 which has also flattened its operator precendence.
Co-authored-by: Mike Bayer <mike_mp@zzzcomputing.com>
Fixes: #3999
Change-Id: I3f3d5124a64af0d376361cdf15a97e2e703be56f
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/367
Diffstat (limited to 'lib/sqlalchemy/testing/assertsql.py')
0 files changed, 0 insertions, 0 deletions