Model::reset
Reset Model
Description
public self Model::reset()
Example
Controller
$model = new Model(true, array(
'table' => 'cms_news',
));
$model->where('news = ?', [1]);
$model->listMax(5);
$model->current(2);
// SELECT * FROM cms_news WHERE news = 1 LIMIT 5, 5
$model->find();
$model->reset();
// SELECT * FROM cms_news
$model->find();