Custom_Query

Navigation:  Development > Function Reference > Model >

Custom_Query

Previous pageReturn to chapter overviewNext page

Execute direct SQL.
 

App::Model()->custom_query(SQL);

 

For example:
 
App::Model()->custom_query('SELECT * FROM app_pages');