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

Add support for specify distinct columns #262

Open
2 tasks
akeemphilbert opened this issue Apr 7, 2023 · 0 comments
Open
2 tasks

Add support for specify distinct columns #262

akeemphilbert opened this issue Apr 7, 2023 · 0 comments

Comments

@akeemphilbert
Copy link
Contributor

🚀 Why this matters

  • There are times when you want to retrieve results where a value in a specific column is unique

✨ Features

  • Specify _distinct parameter when using the list endpoint
  • Specify multiple columns to make distinct
  • Get list of distinct items using the entity repository

🔑 Tips

  • Distinct In GOrm
  • To maintain backwards compatibility we are not updating the repository interface as this will require updating all the mocks in all the projects using this right now.

✔️ Tasks

  • Add method GetDistinctList on GORMDB
  • Update DefaultListController to use GetDistinctList instead IF the entity repository is GORMDB
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