CodeIgniter Forums
Fetching from database query - Fetch Object - 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: Fetching from database query - Fetch Object (/showthread.php?tid=21561)



Fetching from database query - Fetch Object - El Forum - 08-13-2009

[eluser]MEM[/eluser]
I really like the fetch_obj feature, that allow us to fetch all database columns as anonymous objects that we can latter work with.

Can this be done using CodeIgniter?


Thanks again,
MEM

ps- if you believe my questions are nonsense, please reply to that to so that, at least I can understand that this is not the way I should dig in.


Fetching from database query - Fetch Object - El Forum - 08-13-2009

[eluser]Chad Fulton[/eluser]
Perhaps you should take a look at the CodeIgniter User Guide.

Normally I'd provide more of an answer, but the answer is very well documented in the Database section of the User guide.


Fetching from database query - Fetch Object - El Forum - 08-13-2009

[eluser]MEM[/eluser]
The point was to see the capabilities just to see if it's worth studying it.

But, thanks anyway,
MEM