Class CStatRelation
CStatRelation represents a statistical relational query.
- CComponent
- 
			 CBaseActiveRelation CBaseActiveRelation
- 
			 CStatRelation CStatRelation
		
		
		
		Package: system\db\ar
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Located at x2engine/framework/db/ar/CActiveRecord.php
	
	Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Located at x2engine/framework/db/ar/CActiveRecord.php
| 
			 public 
			
			
			 | 
| 
			__construct()
		 | 
| 
			public  
			string
		 | $select | 'COUNT(*)' | 
			#
			 the statistical expression. Defaults to 'COUNT(*)', meaning the count of child objects. | 
| 
			public  
			mixed
		 | $defaultValue | 0 | 
			#
			 the default value to be assigned to those records that do not receive a statistical query result. Defaults to 0. | 
| 
			public  
			mixed
		 | $scopes |  | 
			#
			 
				scopes to apply Can be set to the one of the following:
 
 | 
| 
			$className, 
			$condition, 
			$foreignKey, 
			$group, 
			$having, 
			$join, 
			$joinOptions, 
			$name, 
			$order, 
			$params
		 |