Merge pull request #2983 from strongloop/broken_documemnt
Fix broken document for `upsertWithWhere`
This commit is contained in:
commit
1d96a678a5
|
@ -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'}, ...}
|
||||||
* ```
|
* ```
|
||||||
|
|
Loading…
Reference in New Issue