Last active
January 5, 2017 17:54
-
-
Save pokisin/50fc250ef7a64e561b6cf60749a7f7af to your computer and use it in GitHub Desktop.
How to run RAW SQL query in Phalcon
This file contains 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 = "SELECT * from ejemplo"; | |
$resultGeneral = $this->db->query($query); | |
$resultGeneral->setFetchMode(\Phalcon\Db::FETCH_ASSOC); | |
$resultGeneral = $resultGeneral->fetchAll($resultGeneral); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment