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

Use views instead of native queries where possible #33

Merged
merged 3 commits into from
Sep 11, 2024
Merged

Conversation

fwilhe
Copy link
Member

@fwilhe fwilhe commented Sep 11, 2024

This PR changes a lot about how glvd-api works.

The biggest change is that we now rely on VIEWs in the db instead of having native queries in our repositories where possible. This simplifies the code a lot and should also make it easier to implement sorting gardenlinux/glvd#95 and filtering gardenlinux/glvd#94 in the api.

@fwilhe fwilhe merged commit 76c1264 into main Sep 11, 2024
4 checks passed
@fwilhe fwilhe deleted the use-views branch September 11, 2024 12:09
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

Successfully merging this pull request may close these issues.

1 participant