alexbilbie/codeigniter-mongodb-library — Issue #32: addtoset
Author: oliverhermanni
Created: 2011-12-14 06:17:22+00:00
State: open

In function addtoset is a typo. Change

$this->updates['$attToSet'][$field] = array('$each' => $values);

to

$this->updates['$addToSet'][$field] = array('$each' => $values);