api-guidelines icon indicating copy to clipboard operation
api-guidelines copied to clipboard

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

Open yuvipatel opened this issue 8 years ago • 5 comments

yuvipatel avatar Sep 18 '17 13:09 yuvipatel

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.

trshiv avatar Nov 30 '17 08:11 trshiv

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

yuvipatel avatar Jan 06 '18 01:01 yuvipatel

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

chriscoderdr avatar Jul 17 '18 20:07 chriscoderdr

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.

trshiv avatar Dec 18 '18 09:12 trshiv

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.

Chrysweel avatar Aug 19 '20 17:08 Chrysweel