Update persisted-model.js

Note the PersistedMode.create() can take an array of instances, per #710.
This commit is contained in:
Rand McKinney 2014-11-06 10:56:37 -08:00
parent 7c96aec9af
commit 21b28446bf
1 changed files with 1 additions and 1 deletions

View File

@ -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.
*/