Files
meteor/packages
Emily Stark db03f574a3 Implement Collection.upsert().
Basically the same code as Collection.update(... { upsert: true }) except that
it returns an object with numberAffected and insertedId keys. remove() is back
to returning just the number affected, not an object, so that both update() and
remove() match the mongo api.

Untested.
2013-09-27 14:46:10 -07:00
..
2013-08-26 19:28:25 -07:00
2013-08-12 23:31:26 -07:00
2013-09-12 14:29:50 -07:00
2013-08-20 11:08:50 -07:00
2013-08-14 17:46:23 -07:00
2013-07-29 11:35:25 -07:00
2013-08-02 11:19:08 -07:00
2013-09-27 14:46:10 -07:00
2013-08-19 22:00:37 -07:00
2013-07-25 18:54:40 -07:00