Skip to content
Browse files

docs

  • Loading branch information...
1 parent 53f6856 commit 83d45902dd3a286287d1649cfce02932d7b4b274 @aheckmann aheckmann committed
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/model.js
View
7 lib/model.js
@@ -808,7 +808,7 @@ Model.create = function create (doc, fn) {
});
// TODO
- // utilize collection.insertAll for batch processing
+ // utilize collection.insertAll for batch processing?
};
/**
@@ -820,12 +820,13 @@ Model.create = function create (doc, fn) {
* MyModel.update({ name: 'Tobi' }, { ferret: true }, { multi: true }, fn);
*
* Valid options:
+ *
* - safe (boolean) safe mode (defaults to value set in schema (true))
* - upsert (boolean) whether to create the doc if it doesn't match (false)
- * - multi (boolean) whether multiple documents should be update (false)
+ * - multi (boolean) whether multiple documents should be updated (false)
*
* @param {Object} conditions
- * @param {Object] doc
+ * @param {Object} doc
* @param {Object} options
* @param {Function} callback
* @return {Query}

0 comments on commit 83d4590

Please sign in to comment.
Something went wrong with that request. Please try again.