Home
(current)
Notes
About
Get Next Auto Increment Value
 $findResult= $this->
MODEL
->find('first',
       array('fields'=>'id', 'order'=>'
MODEL
.id DESC'));
 $lastID = $findRes['
MODEL
']['id'];
 $nextID = $lastID + 1;