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

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