Skip to content

yii 1 custom version of CActiveFinder to get SQL generated by AR from CDbCriteria.

Notifications You must be signed in to change notification settings

meysam-jeffrey/ActiveFinder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

ActiveFinder

yii 1 custom version of CActiveFinder to get SQL generated by AR from CDbCriteria.

Usage

$model = new User();
$criteria = new CDbCriteria();
$criteria->select = 't.id';
$command = ActiveFinder::getCommand($model, $criteria);
// $command variable have the SQL text
$sql = $command->text;

About

yii 1 custom version of CActiveFinder to get SQL generated by AR from CDbCriteria.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%