Last active
August 29, 2015 14:27
-
-
Save bjzhush/f2ab5920ec1ae693ad87 to your computer and use it in GitHub Desktop.
zend2 DB
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
// zend2 DB Mysql | |
$oSelect = new Select(); | |
$oSelect->columns(array('status')) | |
->from($this->tableName) | |
->where(array('sns_union_id = ?' => $snsUnionId, 'sns_type = ?' => $snsType)) | |
->limit(1); | |
$draftArr = $this->executeSelect($oSelect); | |
$draftObj = current($draftArr); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment