use parking\Models\Rescuer as Rescuer;
.
.
.
$data = Bill::query()
->columns('parking\Models\Rescuer.id as rescuerId,parking\Models\Rescuer.cityId,parking\Models\Rescuer.name,parking\Models\Bill.number')
->leftJoin("parking\\Models\\Rescuer",
"parking\\Models\\Rescuer.id = parking\\Models\\Bill.rescuerId")
->where("number = :number:")
->bind(array("number" => $number))
->limit(1)
->execute()->toArray();
When I try to write Models name in Query Without Full path,
Phalcon showing Model Not found Message,
Unknown model or alias 'Rescuer' (11), when preparing
And it can not identify models.my Queries are too longو If I want more I use this method.
How to bypass it?