Skip to content

Instantly share code, notes, and snippets.

@ninnypants
Created November 1, 2011 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ninnypants/1330119 to your computer and use it in GitHub Desktop.
Save ninnypants/1330119 to your computer and use it in GitHub Desktop.
Yii Client Query
<?php
Client::model()->findAll(array(
'non_disclosure=:non_disclosure',
'questionnaire=:questionnaire',
'mod=:mod',
'initial_deposit=:initial_deposit',
),
array(
':non_disclosure' => 0,
':questionnaire' => 0,
':mod' => 0,
':initial_deposit' => 0,
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment