Ejemplo n.º 1
0
 /**
  * @param $column
  * @param string $separator
  * @return WhereStatement|Where
  */
 protected function addWhereCondition($column, string $separator = 'AND')
 {
     if ($column instanceof Closure) {
         $this->sql->addWhereConditionGroup($column, $separator);
         return $this;
     }
     return $this->where->init($column, $separator);
 }