Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Only one level of relations is supported #17

Open
alexisohayon opened this issue Dec 6, 2017 · 0 comments · May be fixed by #91
Open

Only one level of relations is supported #17

alexisohayon opened this issue Dec 6, 2017 · 0 comments · May be fixed by #91

Comments

@alexisohayon
Copy link

How do you do a query that filters from few level of relations?

Specifically, I wrote this:

      const legs = await findQuery(Leg)
          .build({
            'eager': `[
              passengers, 
              flight.[airline, aircraft, via_airport,
                route.[outbound_origin, outbound_destination]
              ],
            ]`,
            'flight.route.organization_id': org.id,
            'flight.route.outbound_destination.iata_code': 'CDG'
          })     

Thanks!

@DeanMauro DeanMauro linked a pull request Jan 27, 2022 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant