jaystack / odata-v4-mongodb

This server component lets you process OData requests over a MongoDB database
30 stars 24 forks source link

how to call function or action? #10

Closed ramifi closed 7 years ago

ramifi commented 7 years ago

Hi How can I call a function or an action in the controller by web request? For example the getCheapest() function

lazarv commented 7 years ago

Hi @ramifi, by using the standard OData way, reference the function or action with namespace, like /Products/Northwind.getCheapest(). By the way this question belongs into the main odata-v4-server library, it's not related to the mongodb connector.