Open yuvipatel opened 7 years ago
@trshiv and @victorhugom I have added npm module filter2dbquery to translate the filter expression into a MongoDb query.
@yuvipatel thanks for the package, I wouldn't be able to use it cause I'm using postgres not mongodb, but I may be able to modify the code to make it work with postgres.
I'm interested to know if anybody is interested in translating the filter expression to Elasticsearch. I'm looking to do this for my current work and if anyone is interested in contributing they are more than welcome.
Does anyone know of any php library that helps parse this input format?
It would be nice to have a section of libraries that are based on these guides and that help their implementation in projects.
This part is where I had some trouble in convincing my team to adopt the API guidelines. By far the most typical use-case is to translate the filter expression into a SQL WHERE clause.