Skip to content

Need more information about Configuration #50

@nawaz4alumnux

Description

@nawaz4alumnux

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions