Change the paginate method |
Paginate acts as findAll with auto applied limit + offset and prepared Pager..
I think that logically countAllResults(false) should preserve the count once it's done and just to return it instead making multiple selects further.. https://github.com/codeigniter4/CodeIgni....php#L1566 Running that query multiple times in case $sql and $this->binds are the same is pointless specially if $reset is set to false.. Best VPS Hosting : Digital Ocean
|
Messages In This Thread |
Change the paginate method - by videoproc - 05-25-2019, 02:10 AM
RE: Change the paginate method - by sv3tli0 - 05-29-2019, 10:22 PM
RE: Change the paginate method - by videoproc - 05-30-2019, 11:56 PM
|