Zack Yang
Zack Yang
Sorry, only some simple queries are supported in current version.
@sunhaolin 感谢关注,目前仍然没有支持 T_T
Hi @JenneyJ, Sorry, it cant automatically generate services through edmx / metadata XML, you need to follow the example to define.
Hi @pavelseverov correct, this 2 features I will add to next version, thanks for feedback.
Hi @emathias There has another way to implement this. You can add middleware to handle auth check, it support async function, and put the result into `req`, then `auth hook`...
Sorry, it's not support this feature, it can only support a simple model query. I will try to add it on this weekend.
try ``` GET orders?$filter=orderItems.product.price gt 10 ``` [A example](https://github.com/TossShinHwa/node-odata/blob/master/test/model.complex.filter.js).
Unfortunately, it's not support `$expand / all / any` to query entities. But there has a way to make it work even it ugly. You can add a [**ACTION**](http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part1-protocol/odata-v4.0-errata03-os-part1-protocol-complete.html#_Actions_1) for...
ES6 syntax: ``` const { price } = req.query; ``` Same as ES5 syntax: ``` var price = req.query.price; ```
Strange, it should be working. plz check your code is same as the [example](https://github.com/TossShinHwa/node-odata/blob/15e96ab0db99868a8f18f6d3cf62eaf38ba3f219/test/model.complex.action.js#L16-L23).