CodeIgniter Forums
Buffered and un-buffered queries - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: Buffered and un-buffered queries (/thread-21472.html)



Buffered and un-buffered queries - El Forum - 08-11-2009

[eluser]Unknown[/eluser]
I have to ask, does the default database library of CodeIgniter use buffered or unbuffered results?
Seems like it uses buffered results, since you can count the number of rows in the result set.

Is there an option to tell CodeIgniter to use buffered or unbuffered result from the query? I'm asking this since for a query with HUGE amount of results it's much better use unbuffered result set.

Thanks in advance guys Smile