Skip to content

Commit

Permalink
Update persisted-model.js
Browse files Browse the repository at this point in the history
Note the PersistedMode.create() can take an array of instances, per #710.
  • Loading branch information
Rand McKinney committed Nov 6, 2014
1 parent 7c96aec commit 21b2844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/persisted-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function convertNullToNotFoundError(ctx, cb) {
/**
* Create new instance of Model class, saved in database
*
* @param {Object} data Optional data object.
* @param {Object}|[{Object}] data Optional data object. Can be either a single model instance or an array of instances.
* @param {Function} cb Callback function with `cb(err, obj)` signature,
* where `err` is error object and `obj` is null or Model instance.
*/
Expand Down

0 comments on commit 21b2844

Please sign in to comment.