Created
July 25, 2014 20:01
-
-
Save angelxmoreno/4f0a41d76a81108cffc5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
App::uses('ConnectionManager', 'Model'); | |
$db = ConnectionManager::getDataSource('amazon'); | |
$books = $db->find('Books', array( | |
'title' => 'Harry Potter' | |
)); | |
debug($books); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
or more specifically in the controller