Welcome Guest, Not a member yet? Register   Sign In
DB Using CodeIgniter’s Model - $afterFind

(This post was last modified: 06-19-2020, 07:08 AM by midav.)


as for me this is also a solution but I need an optimized query using join, maybe someone will advise how to do it even more correctly. Because I could write a join function but it can somehow be implemented in a function that I wrote because it turns out that as many as 52 queries to the database are not good.

the result is what I need


I am only bothered by the number of requests of them as many as 50 pieces because I still use pagination and there I have to display 25 entries per page

but I would like that I created a model somehow add join so that I would not have to write additional functions in the model.


the screenshot shows that it also works quickly, but if I have a very large base, then I think I need to think something with optimization, and now I want to immediately lay down all the queries normally with a bunch of several tables.


and so I want to call in the controller

Messages In This Thread
RE: DB Using CodeIgniter’s Model - $afterFind - by midav - 06-19-2020, 06:56 AM

Theme © iAndrew 2016 - Forum software by © MyBB