alexbilbie/codeigniter-mongodb-library — pull request #35 by robelkin (2012-01-13 17:02:19+00:00)
Title: Addtoset fix

addToSet was misspelled, meaning the call would fail when using an array.

Also, including '$each' was causing $each to be inserted as the key name for the insert, I removed it for now as I didn't want to start getting into debugging it if there is a rewrite coming up, so just wanted to get this quick fix in there incase someone else comes across it