JSqlParser icon indicating copy to clipboard operation
JSqlParser copied to clipboard

How to deal without NOT attribute for BinaryExpression in version 2.1? ((

Open canatoly opened this issue 7 years ago • 2 comments

I am forced to stay with 2.0 now. Hope we'll it back soon. Thanx

canatoly avatar Jul 30 '19 06:07 canatoly

The not was refactored out into a new class that is now used for nearly every not:

Therefore NOT a = b does not result in a BinaryExpression (EqualTo) with a not attribute, but in a NotExpression that encloses a BinaryExpression (EqualTo).

This is / was an API change. Maybe I should have followed semantic versioning, but I didn't.

So what is the problem using this new structure or was this the needed information?

wumpz avatar Jul 31 '19 06:07 wumpz

This information is exactly what I needed. Thank you

canatoly avatar Aug 01 '19 12:08 canatoly