src/mako/database/query/Query.php
public function between($column, $value1, $value2, string $separator = 'AND', bool $not = false)
	{
		$this->wheres[] =
		[
			'type'      => 'between',
			'column'    => $column,
			'value1'    => $value1,
			'value2'    => $value2,
			'separator' => $separator,
			'not'       => $not,
		];

		return $this;
	}
public function between($column, $value1, $value2, string $separator = 'AND', bool $not = false)
	{
		$this->wheres[] =
		[
			'type'      => 'between',
			'column'    => $column,
			'value1'    => $value1,
			'value2'    => $value2,
			'separator' => $separator,
			'not'       => $not,
		];

		return $this;
	}
public function between ( $ column , $ value1 , $ value2 , string $ separator = 'AND' , bool $ not = false ) { $ this -> wheres [ ] = [ 'type' => 'between' , 'column' => $ column , 'value1' => $ value1 , 'value2' => $ value2 , 'separator' => $ separator , 'not' => $ not , ] ; return $ this ; }
Adds a BETWEEN clause.

@param  mixed  $column    Column name
@param  mixed  $value1    First value
@param  mixed  $value2    Second value
@param  string $separator Clause separator
@param  bool   $not       Not between?
@return $this
Adds a BETWEEN clause .