Use related entities inside scopes

Description

I'd like to be able to use column aliases and scopes inside this where exists if possible:

```
query.active().whereExists( function( q ) {
q.from( "tblTour_Departure" )
.whereColumn( "tblTour_Departure.Tour_ID", "tblTour.ID" )
.where( "Double_Price", ">", 0 )
.where( "startDate", ">", arguments.today );
} );
```

Environment

None

Status

Assignee

Unassigned

Reporter

Eric Peterson

Labels

None

Priority

Major
Configure