Reservation hasOne User this- Reservation- find all query select Reser

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
Reservation hasOne User
$this->Reservation->find('all')
query:
select Reservation left join User
Reservation hasOne User
Ressource hasMany Reservation
$this->Ressource->find('all')
queries:
select Ressource
select Reservation
! select User = 1
! select User = 2
etc...
expected queries:
select Ressource
select Reservation left join User