public function whereBetween($column, $value, $value2 = null)
{
if (is_null($value2)) {
if (!is_array($value)) {
throw new \InvalidArgumentException(Lang::get('_DB_PARAM_ERROR_WHERE_BETWEEN_'));
}
$val = $value;
} else {
$val = [$value, $value2];
}
$this->conditionFactory($column, $val, 'BETWEEN');
return $this;
}