- Fix false negative comparison of ORDER BY <function> ASC
- More improvements of incorrect parsing (literal at end of list elt)
- Fix typos in POD and comments (RT#87776)
+ - Augment -not_bool example with nesting (RT#89601)
revision 1.74 2013-06-04
----------------------------
my %where = (
-and => [
-bool => 'one',
- -bool => 'two',
- -bool => 'three',
- -not_bool => 'four',
+ -not_bool => { two=> { -rlike => 'bar' } },
+ -not_bool => { three => [ { '=', 2 }, { '>', 5 } ] },
],
);
Would give you:
- WHERE one AND two AND three AND NOT four
+ WHERE
+ one
+ AND
+ (NOT two RLIKE ?)
+ AND
+ (NOT ( three = ? OR three > ? ))
=head2 Nested conditions, -and/-or prefixes