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

please add eager loading to query builder #7142

Open
webafra opened this issue Dec 2, 2020 · 2 comments
Open

please add eager loading to query builder #7142

webafra opened this issue Dec 2, 2020 · 2 comments

Comments

@webafra
Copy link

webafra commented Dec 2, 2020

hello.

please add Eager Loading to Query builder for Example :

qb = this.usersEntity.createQueryBuilder("user")
  .where("user.age > :age", {age: filter.age})
  .with('posts')
  .with('orders', function(query) {
    query.where("price > :price", {price: filter.price})
  })
  .withCount('posts')
  .getMany()

@webafra
Copy link
Author

webafra commented Dec 23, 2020

please add this option :)

@matgott
Copy link

matgott commented May 6, 2021

Is this available now? I'm having this issue, my queries using QueryBuilder don't load the eagers relations....

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

No branches or pull requests

2 participants