Welcome Guest, Not a member yet? Register   Sign In
How to return count from findAll() function?
#1

I'm using findAll($limit, $offset) for pagination, besides that I also want to display the count of all of them without $limit, is there any special function?

whereas read https://codeigniter.com/user_guide/datab...ng-results only for $builder
Reply
#2

countAllResults(false) in Model.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB