havok2063 / boolean_parser

python package for parsing a string with boolean logic
https://boolean-parser.readthedocs.io/en/latest/index.html
BSD 3-Clause "New" or "Revised" License
14 stars 7 forks source link

Fix `bindname` errors and allow comparing against NULL values #6

Closed linozen closed 2 years ago

linozen commented 2 years ago

This fixes #5 and adds the ability to compare against NULL in the queries which is something that we need over here: https://git.fsfe.org/fsfe-system-hackers/fsfe-cd/pulls/163.

Many thanks for this great parser. I'm looking forward to including a version of it in the aforementioned project.

linozen commented 2 years ago

Hi @havok2063, many thanks for your review. I've now added a couple more tests and enhanced the test database with dates and nulls. Let me know what you think. Looking forward to getting this merged.

havok2063 commented 2 years ago

@linozen These changes look good to me. Thanks a lot!

linozen commented 2 years ago

Nice! thank you, @havok2063 for merging. Is there any chance you could publish a new release of this package that includes this PR?

havok2063 commented 2 years ago

@linozen Done. 0.1.3. just released.