nom-sql icon indicating copy to clipboard operation
nom-sql copied to clipboard

ensure IS/IS NOT NULL parses correctly

Open soulstompp opened this issue 4 years ago • 0 comments

This is an attempt at fixing https://github.com/ms705/nom-sql/issues/22 and followed the suggestion mentioned in https://github.com/ms705/nom-sql/issues/22#issuecomment-421404638 for the solution. I added Operator::IsNot in order to handle the negative condition as well.

I included a test for = NULL and != NULL.

Hopefully this fits with the solution you were looking for. If not, please let me know how you would like for me to improve upon it.

soulstompp avatar Aug 05 '22 22:08 soulstompp