CodeIgniter Forums
get_compiled_select() doesn't work :( - 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: get_compiled_select() doesn't work :( (/thread-47690.html)



get_compiled_select() doesn't work :( - El Forum - 12-18-2011

[eluser]bastien31[/eluser]
Hi,

I want to use the activerecord method get_compiled_select() in order to do some subquery.

I found it here : http://codeigniter.com/nightly_user_guide/database/active_record.html#this-db-get-compiled-select

But I have this error :
Quote:Fatal error: Call to undefined method CI_DB_mysql_driver::get_compiled_select() in D:\Projets Web\xampp\htdocs\www\CodeIgniter_2.0.3\application\models\dashboard_model.php on line 10

Any idea ? Do I have to load some other library than database ?

thanks
Bastien