refactoring. added redis drivers.
This commit is contained in:
@@ -17,8 +17,6 @@ class Manager {
|
||||
*
|
||||
* If no database name is specified, the default connection will be returned.
|
||||
*
|
||||
* Note: Database connections are managed as singletons.
|
||||
*
|
||||
* <code>
|
||||
* // Get the default database connection for the application
|
||||
* $connection = DB::connection();
|
||||
|
||||
@@ -611,7 +611,9 @@ class Query {
|
||||
*/
|
||||
protected function adjust($column, $amount, $operator)
|
||||
{
|
||||
return $this->update(array($column => Manager::raw($this->grammar->wrap($column).$operator.$amount)));
|
||||
$value = Manager::raw($this->grammar->wrap($column).$operator.$amount);
|
||||
|
||||
return $this->update(array($column => $value));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user