CodeIgniter Forums
How i can use rapper function of codeigintor - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: How i can use rapper function of codeigintor (/showthread.php?tid=12460)



How i can use rapper function of codeigintor - El Forum - 10-20-2008

[eluser]Shahgeb[/eluser]
I was working at nation.com.pk. I have used simple method of querying intead of using rapper function. now i need it to optimizes it. like use of rapper function in query using indexes in database. because it going slow. this is all about me. can u ppl help me. I am looking for reply

thanks


How i can use rapper function of codeigintor - El Forum - 12-23-2008

[eluser]zeratool[/eluser]
You mean "wrapper" function not "rapper"?

Direct sql statement is always a lot faster than wrapper function coz it adds another layer.

my 2 cents.


How i can use rapper function of codeigintor - El Forum - 12-23-2008

[eluser]sophistry[/eluser]
give your table indexes on the fields you search. the sql queries you construct will use the indexes automatically.


How i can use rapper function of codeigintor - El Forum - 12-23-2008

[eluser]Nick Husher[/eluser]
[quote author="zeratool" date="1230070802"]my fiddy cents.[/quote]

FTFY. Wink