Since the whole point of Cake's model is to *not* do that, you won't
find much support for it. However, you can grab a reference to the
database itself by doing the following:
$db =& ConnectionManager::getDataSource('default');
And do a little against-the-rules stuff like this:
$db->execute('select * from posts');
// $db->_result will contain the actual MySQL result resource of the
query.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---