Fix bug when using raw_where with eloquent
This commit is contained in:
@@ -217,12 +217,12 @@ class Grammar {
|
|||||||
/**
|
/**
|
||||||
* 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'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user