-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
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!
ahmadtofeeq, jamespb97, ikdi and DeanMauro
Metadata
Metadata
Assignees
Labels
No labels