avenirer / CodeIgniter-MY_Model

Base model (MY_Model) for the Codeigniter framework.
325 stars 204 forks source link

Query regarding Pagination #285

Open rajkumarpb opened 5 years ago

rajkumarpb commented 5 years ago

First of all, thanks for the awesome work!

I would like to know that is it possible to implement this pagination for custom queries also? If possible, can you please let me know how to implement it? Thanks in advance!

salain commented 5 years ago

Hi, Just add a where clause to the paginate.