lab
lab copied to clipboard
Javascript object-based syntax similar to MongoDB / JS-Data
I've created a project that takes a javascript object and converts it to an OData-compliant query string. This makes it much easier to build a query (with conditional pieces) such as for a dashboard or from user input. It supports most of the spec, including transforms/aggregations. I wasn't sure if this might be a good place to get more expose and feedback on the idea, but thought I'd give it a shot.
https://github.com/techniq/odata-query