Merge pull request #2983 from strongloop/broken_documemnt

Fix broken document for `upsertWithWhere`
This commit is contained in:
Amirali Jafarian 2016-11-24 16:14:55 -05:00 committed by GitHub
commit 1d96a678a5
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ module.exports = function(registry) {
* If there is a single instance retrieved, update the retrieved model. * If there is a single instance retrieved, update the retrieved model.
* Creates a new model if no model instances were found. * Creates a new model if no model instances were found.
* Returns an error if multiple instances are found. * Returns an error if multiple instances are found.
* * @param {Object} [where] `where` filter, like * @param {Object} [where] `where` filter, like
* ``` * ```
* { key: val, key2: {gt: 'val2'}, ...} * { key: val, key2: {gt: 'val2'}, ...}
* ``` * ```