Fix bug when using raw_where with eloquent
This commit is contained in:
parent
4a52aabd15
commit
4b3965e461
|
@ -175,7 +175,7 @@ public function reset_where()
|
|||
*/
|
||||
public function raw_where($where, $bindings = array(), $connector = 'AND')
|
||||
{
|
||||
$this->wheres[] = array('type' => 'raw', 'connector' => $connector, 'sql' => $where);
|
||||
$this->wheres[] = array('type' => 'where_raw', 'connector' => $connector, 'sql' => $where);
|
||||
|
||||
$this->bindings = array_merge($this->bindings, $bindings);
|
||||
|
||||
|
|
Loading…
Reference in New Issue