Commit 341f9dd0 authored by Alex Luneburg's avatar Alex Luneburg

Update QueryBuilder get method to run getFresh method

Following the latest update of the laravel framework (5.1.20), the BaseQuery builder that used to just run the getFresh method (overriden by the mongodb child builder) in the get function, now calls the runSelect method that relies on the mysql Grammar object being present that this builder does not need to run.

This update simply removes the parent get() call and directly calls it's own getFresh method, thus return the functionality to what it was before the laravel update.
parent cd542dcd
...@@ -147,7 +147,7 @@ class Builder extends BaseBuilder { ...@@ -147,7 +147,7 @@ class Builder extends BaseBuilder {
*/ */
public function get($columns = []) public function get($columns = [])
{ {
return parent::get($columns); return $this->getFresh($columns);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment