You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AIM: I want to add filters and manipulate collections names before data fetch from DB.
npm in use:
'simple-odata-server'
'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 ).
The text was updated successfully, but these errors were encountered:
AIM: I want to add filters and manipulate collections names before data fetch from DB.
npm in use:
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 meansdata
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 thedata
collection internally (@odata.context refers todata
not the overridden collection name ).The text was updated successfully, but these errors were encountered: