Welcome Guest, Not a member yet? Register   Sign In
small question Database CI 4 cached
#5

(This post was last modified: 01-19-2024, 02:45 PM by ALTITUDE_DEV.)

(01-17-2024, 09:29 PM)kenjis Wrote: If the query takes more time than getting the cache, yes. 
But don't guess it. Measure it.
See https://www.codeigniter.com/user_guide/t...hmark.html


Ok thanks for tool i dont have see this Wink

I have other question with LIKE mode :

My Model :

i send "Agences Web" found 1 entrie, my problem, i search now "Agence Web" found 0 entries, how to ignore faults or plurial/singular ? thanks for help.

public function getServices($service){
return $this->db->table('module_index_services')->select('serviceName')->like('serviceName', $service)->get()->getResult();
}
Reply


Messages In This Thread
RE: small question Database CI 4 cached - by ALTITUDE_DEV - 01-19-2024, 02:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB