* [story#60673,0.5h] add addWhereGroup.
This commit is contained in:
@@ -605,6 +605,22 @@ class pivotState
|
||||
$this->sqlBuilder['funcs'][] = $func;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add where group.
|
||||
*
|
||||
* @param string|array $type
|
||||
* @param string $table
|
||||
* @param string $field
|
||||
* @param string $function
|
||||
* @param string $alias
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function addWhereGroup($items = array())
|
||||
{
|
||||
$this->sqlBuilder['wheres'][] = $items;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get funcs.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user