Just as title say, i want to query query relationships(plural). I saw numerous examples such as this
which work well. But it's querying only one relationship.
Can it just:
Vehicle::with("deliveries", "user", "type", "workOrganization")->get();
go like this:
Vehicle::with("deliveries", "1", "user", "1", "type", "1", "workOrganization", "1")->get();
where number "1" is an id. Or are those two ways for this, are only ways to approach this?
And i want to say, any of these ids are optional, so that even muddies the water even further...