Fix bug when using raw_where with eloquent
This commit is contained in:
parent
0302b9c3c2
commit
4a52aabd15
|
@ -217,12 +217,12 @@ protected function where_not_null($where)
|
||||||
/**
|
/**
|
||||||
* Compile a raw WHERE clause.
|
* Compile a raw WHERE clause.
|
||||||
*
|
*
|
||||||
* @param string $where
|
* @param array $where
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function where_raw($where)
|
protected function where_raw($where)
|
||||||
{
|
{
|
||||||
return $where;
|
return $where['sql'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue