I am trying to run a query in AppController on a table that has no Model associated with it. I don\'t want to use a Model cause this query would fire on every request and I gues
rawQuery will not return data, use $db->query instead.
$db = ConnectionManager::getDataSource('default'); $data = $db->query($some_sql);