refactoring. added redis drivers.

This commit is contained in:
Taylor Otwell
2011-10-26 21:21:31 -05:00
parent 8595253afe
commit 7bf84066bf
19 changed files with 429 additions and 135 deletions

View File

@@ -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();

View File

@@ -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));
}
/**