Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need more information about Configuration #50

Open
nawaz4alumnux opened this issue Jul 11, 2022 · 0 comments
Open

Need more information about Configuration #50

nawaz4alumnux opened this issue Jul 11, 2022 · 0 comments

Comments

@nawaz4alumnux
Copy link

nawaz4alumnux commented Jul 11, 2022

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 ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant