Esempio n. 1
0
 /**
  * Adds the inserted field, operator and value
  * to the orWheres property array.
  *
  * @param string $field
  * @param string $operator
  * @param null   $value
  *
  * @throws InvalidQueryOperator
  */
 private function addOrWhere($field, $operator, $value = null)
 {
     $this->orWheres[] = ['field' => $field, 'operator' => $this->getOperator($operator), 'value' => $this->connection->escape($value)];
 }