CodeIgniter Forums
Fetching from database query - Fetch Object - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Fetching from database query - Fetch Object (/thread-21561.html)



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