node-simple-odata-server
node-simple-odata-server copied to clipboard
Simple OData server for node.js
Have used the library to create odata service. Create an Entity 'UserType' with a Complex Type 'Address' which has a sub complex type 'Location'. The data gets saved in the...
The following code separates the input filter value $filter=(location/address/firstname eq 'John') into an object. The object results with the '/' sepated items in no alphabetical order, misrepresenting the original order....
Hello, Can you please explain they need of [code line](https://github.com/pofider/node-simple-odata-server/blob/78220a92347fb9083b9f598e0b41066a49d36885/lib/query.js#L89), ```js if (Object.prototype.hasOwnProperty.call(queryOptions.$filter, '_id')) { sAdditionIntoContext = sAdditionIntoContext.length > 0 ? '(' + sAdditionIntoContext + ')/$entity' : '/$entity' out['@odata.context'] =...
**AIM**: I want to add filters and manipulate collections names before data fetch from DB. **npm in use**: 1. 'simple-odata-server' 2. 'simple-odata-server-mongodb' ----------------------------------- Hello, Can you provide some example as...
Hi, first of all, great work! It helped me a lot for some simple data acquisition methods. I need to implement more customized POST which unfortunately use the same resource...
Do you know how one might extend this to handle that?
Hi @pofider. `node-simple-odata-server` is using auth0's `node-odata-parser`, which doesn't parse the $batch & $search query parameters. Is there any way to extend the `node-simple-odata-server` to support $batch & $search and...
`http://127.0.0.1:3010/odata/users/$count ` returns `{"@odata.context":"http://127.0.0.1:3010/odata/$metadata#users","value":14178}` but Microsoft.OData.Client expects raw value `14178`.
I am bit puzzled. I cannot get a sample to work I can get the plain sample to work. The next one, I cannot. Can you check the Gist? Mongodb...