Created
April 14, 2015 04:43
-
-
Save b0n/85c73f038f3258fc5e42 to your computer and use it in GitHub Desktop.
get subquery at cakephp
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
$query = $this->Post->getQuery('all', array( | |
'conditions' => array('Post.id' => array(1,2,3,4,5), | |
'fields' => array('Post.id'), | |
)); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment