node-simple-odata-server icon indicating copy to clipboard operation
node-simple-odata-server copied to clipboard

Need more information about Configuration

Open nawaz4alumnux opened this issue 3 years ago • 0 comments

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 to how one might use Configuration. particularly query.

For example: If user request something like http://localhost:1337/data, It means data collection will be fetch and converted to odata format.
I want to add some filter when data collection is fetched. I also want to override the name of the data collection internally (@odata.context refers to data not the overridden collection name ).

nawaz4alumnux avatar Jul 11 '22 20:07 nawaz4alumnux