microsoft / api-guidelines

Microsoft REST API Guidelines
Other
22.68k stars 2.71k forks source link

Questions: Are there any existing query string parser for suggested filter operations in section 9.7.1 ? #96

Open yuvipatel opened 7 years ago

trshiv commented 6 years ago

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.

yuvipatel commented 6 years ago

@trshiv and @victorhugom I have added npm module filter2dbquery to translate the filter expression into a MongoDb query.

chriscoderdr commented 6 years ago

@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.

trshiv commented 5 years ago

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.

Chrysweel commented 4 years ago

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.