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 related queries optimizations #146

Merged
merged 9 commits into from
Oct 10, 2023
Merged

Conversation

karatakis
Copy link
Collaborator

@karatakis karatakis commented Aug 23, 2023

PR Info

  • one to one relation
  • one to many relation
  • one to one via relation
  • one to one via relation with intermediate
  • one to many via relation

New Features

  • Optimize related queries

Changes

  • update pagination parsing, this is not intended for external use that is why it is not a breaking change.
  • misc input objects apply Hash, Eq, etc.
  • order_input parsing support
  • memory pagination for related queries

src/query/loader.rs Outdated Show resolved Hide resolved
- [x] one to one relation
- [x] one to many relation
- [x] one to one via relation
- [x] one to many via relation with intermediate
- [x] one to many via relation
- [ ] one to many via relation with intermediate

* misc input objects apply Hash, Eq, etc.
* order_input parsing support
* update pagination parsing
* memory pagination for related queries

Update generator

Fix clippy errors

Cargo FMT fix
@karatakis karatakis marked this pull request as ready for review October 10, 2023 16:25
@karatakis karatakis merged commit 9c43f72 into main Oct 10, 2023
8 checks passed
@karatakis karatakis deleted the optimize-relations-loading branch October 10, 2023 21:28
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.

Optimize relations
2 participants