adamspe / odata-resource

Node.JS+Express+REST
https://www.npmjs.com/package/odata-resource
12 stars 4 forks source link

can we have $count feature ? #2

Closed singhsky closed 8 years ago

adamspe commented 8 years ago

Pushed/published version 0.2.0 which contains support for "count".

I chose to name the relationship count as opposed to $count since that's more consistent with how other relationships have been named and the library isn't truly implementing odata but re-using many of its parameter names and $filter syntax.

See the section in the documentation (npm or github) titled "Count (experimental)"

Let me know how this works for you.