fuel/core — pull request #707 by tomschlick (2011-12-05 05:41:56+00:00)
Title: added a $literal parameter to update() and update_all() to allow the use of modifiers

added a $literal parameter to update() and update_all() to allow the use of modifiers like $inc, $push, $pull, etc. It defaults to the normal $set operation, if you need to do a special modifier you just set literal to true, and provide an array such as

```
$mongoinstance->update('users', array('$set' => array('name' => 'John'), '$inc' => array('children' => 1)), array(), true);
```

This fixes issue #669.