I need a support in Ci4 - Regarding code standard |
I have worked in the Performance optimization part of the software in an Organization. I have reduced the Time complexity Min into Sec. For that I have replaced the nested looping statement. And for each iteration Same SQL query will execute so that the performance very poor. Now I have restructure the SQL query using where clause. But I need to get confirmation about the Implementation is correct or not. Kindly share you thoughts. I have attached the code as well.
Here is my CI4 - Model Code: PHP Code: $machine_event_arr = ['ID1','ID2','ID3','ID4']; |
Welcome Guest, Not a member yet? Register Sign In |