It’s quite simple and supports filtering on a single table only.
It supports basic operators eq, :gt, :gte, :in, :lt, :lte, :ne, :nin, :and, :or and some other helpful operators. And you can define your own operators too.
Please try and leave your feedback. Thank you.
Update v0.2.0
I have added a special operator ref to join multiple table
This is neat. It will work well for simple use cases. Its also good in way that you can build filters progressively as its a map. But its use will be limited as most production use-cases will involve multi-table filtering.
Thanks for your library, I didn’t know it before. It has lots of cool features.
This module is actually a part of my projects. I have to write lots of code to build query from request parameter so its goal is to help building query conditions. And I want to keep it simple so my colleges can learn to use it quickly.