diff --git a/laravel/database/query.php b/laravel/database/query.php index 76928792..93364675 100644 --- a/laravel/database/query.php +++ b/laravel/database/query.php @@ -175,7 +175,7 @@ class Query { */ 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);