Created
May 12, 2017 19:04
-
-
Save swaters86/9e5fad49aac1b17a022212be8d6d03a2 to your computer and use it in GitHub Desktop.
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
$schema = Yii::app()->db->schema; | |
$builder = $schema->commandBuilder; | |
$command = $builder->createFindCommand($schema->getTable('pos_patient_info'), $criteria); | |
$results = $command->text; | |
var_dump($results); | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment