Welcome Guest, Not a member yet? Register   Sign In
Getting query results straight out instead of being loaded into an array
#1

[eluser]jtotheb[/eluser]
I have a requirement to export csv files from my database (sometimes rather large) and i think the speed that it comes out is a bit slow. I'm using $this->db->query() for the queries, db utils csv_from_result and the file helper for the download.

I was reading this thread http://ellislab.com/forums/viewthread/48757/ and wondered if anyone could tell me (a code snippet would be great!) how i could return my queries without it being loaded into the "result object"?

Cheers!




Theme © iAndrew 2016 - Forum software by © MyBB