CodeIgniter 4 Limit Query
// codeigniter 4 limit query
// getting data from model
$data['dataName'] = $account->where('role', 'User')->orderBy('created_at', 'DESC')->limit(5)->find();
IamPseudoX