src/mako/database/query/Query.php
public function whereRaw($column, $operator = null, ?string $raw = null, string $separator = 'AND')
	{
		if($raw === null)
		{
			$this->wheres[] =
			[
				'type'      => 'whereRaw',
				'raw'       => new Raw($column, is_array($operator) ? $operator : []),
				'separator' => $separator,
			];

			return $this;
		}

		return $this->where($column, $operator, new Raw($raw), $separator);
	}
public function whereRaw($column, $operator = null, ?string $raw = null, string $separator = 'AND')
	{
		if($raw === null)
		{
			$this->wheres[] =
			[
				'type'      => 'whereRaw',
				'raw'       => new Raw($column, is_array($operator) ? $operator : []),
				'separator' => $separator,
			];

			return $this;
		}

		return $this->where($column, $operator, new Raw($raw), $separator);
	}
public function whereRaw ( $ column , $ operator = null , ? string $ raw = null , string $ separator = 'AND' ) { if ( $ raw === null ) { $ this -> wheres [ ] = [ 'type' => 'whereRaw' , 'raw' => new Raw ( $ column , is_array ( $ operator ) ? $ operator : [ ] ) , 'separator' => $ separator , ] ; return $ this ; } return $ this -> where ( $ column , $ operator , new Raw ( $ raw ) , $ separator ) ; }
Adds a raw WHERE clause.

@param  string|array      $column    Column name, an array of column names or raw SQL
@param  string|array|null $operator  Operator or parameters
@param  string|null       $raw       Raw SQL
@param  string            $separator Clause separator
@return $this
Adds a raw WHERE clause .