"concat" and "match" operators to be the same as
that of "is", "like", and others; this helps with
parenthesization rendering when used in conjunction
with "IS". [ticket:2564]
operators are present as methods like all
the other operators. [ticket:2544]
+ - [bug] A tweak to column precedence which moves the
+ "concat" and "match" operators to be the same as
+ that of "is", "like", and others; this helps with
+ parenthesization rendering when used in conjunction
+ with "IS". [ticket:2564]
+
- engine
- [bug] Fixed bug whereby
a disconnect detect + dispose that occurs
_PRECEDENCE = {
from_: 15,
getitem: 15,
- mul: 7,
- truediv: 7,
+ mul: 8,
+ truediv: 8,
# Py2K
- div: 7,
+ div: 8,
# end Py2K
- mod: 7,
- neg: 7,
- add: 6,
- sub: 6,
+ mod: 8,
+ neg: 8,
+ add: 7,
+ sub: 7,
+
concat_op: 6,
match_op: 6,
- ilike_op: 5,
- notilike_op: 5,
- like_op: 5,
- notlike_op: 5,
- in_op: 5,
- notin_op: 5,
- is_: 5,
- isnot: 5,
+
+ ilike_op: 6,
+ notilike_op: 6,
+ like_op: 6,
+ notlike_op: 6,
+ in_op: 6,
+ notin_op: 6,
+
+ is_: 6,
+ isnot: 6,
+
eq: 5,
ne: 5,
gt: 5,
lt: 5,
ge: 5,
le: 5,
+
between_op: 5,
distinct_op: 5,
inv: 5,
"SELECT op.field FROM op WHERE (op.field = op.field) "
"BETWEEN :param_1 AND :param_2")
+ self.assert_compile(table.select(
+ table.c.field.match(table.c.field).is_(None)),
+ "SELECT op.field FROM op WHERE (op.field MATCH op.field) IS NULL")
+
class OperatorAssociativityTest(fixtures.TestBase, testing.AssertsCompiledSQL):
__dialect__ = 'default'