jaystack / odata-v4-server

With JayStack OData v4 Server you can build your own data endpoints without the hassle of implementing any protocol-level code. This framework binds OData v4 requests to your annotated controller functions, and compiles OData v4 compatible response. Clients can access services through OData-compliant HTTP requests. We recommend the JayData library for consuming OData v4 APIs.
https://jaystack.com/products/jaystack-odata-v4-server/
76 stars 55 forks source link

How to return count ? #25

Open bastienlemaitre opened 6 years ago

bastienlemaitre commented 6 years ago

Hi ! I want to know how return count variable, thanks !

bastienlemaitre commented 6 years ago

Any new ?

anli-xsigns commented 6 years ago

Please have a look at https://github.com/jaystack/odata-v4-server/blob/master/src/test/test.model.ts#L331. You have to set inlinecount.