Update persisted-model.js

Fix links in API docs to docs for where filter
This commit is contained in:
Rand McKinney 2015-09-09 15:46:53 -07:00
parent 9b255f4d10
commit 3821824c97
1 changed files with 11 additions and 6 deletions

View File

@ -116,7 +116,8 @@ module.exports = function(registry) {
* If not found, create the object using data provided as second argument.
*
* @param {Object} where Where clause, such as `{test: 'me'}`
* <br/>see [Where filter](http://docs.strongloop.com/display/public/LB/Where+filter).
* <br/>see
* [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforothermethods).
* @param {Object} data Data to insert if object matching the `where` filter is not found.
* @callback {Function} callback Callback function called with `cb(err, instance)` arguments. Required.
* @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).
@ -180,7 +181,7 @@ module.exports = function(registry) {
* ```
* { where: { key: val, key2: {gt: 'val2'}, ...} }
* ```
* <br/>See [Where filter](http://docs.strongloop.com/display/LB/Where+filter).
* <br/>See [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforqueries).
*
* @callback {Function} callback Callback function called with `(err, returned-instances)` arguments. Required.
* @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).
@ -209,7 +210,8 @@ module.exports = function(registry) {
* ```
* {where: { key: val, key2: {gt: 'val2'}, ...} }
* ```
* <br/>See [Where filter](http://docs.strongloop.com/display/LB/Where+filter).
* <br/>See
* [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforqueries).
*
* @callback {Function} callback Callback function called with `(err, returned-instance)` arguments. Required.
* @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).
@ -227,7 +229,8 @@ module.exports = function(registry) {
* ```
* {key: val, key2: {gt: 'val2'}, ...}
* ```
* <br/>See [Where filter](http://docs.strongloop.com/display/LB/Where+filter).
* <br/>See
* [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforothermethods).
*
* @callback {Function} callback Optional callback function called with `(err, info)` arguments.
* @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).
@ -264,7 +267,8 @@ module.exports = function(registry) {
* ```
* { key: val, key2: {gt: 'val2'}, ...}
* ```
* <br/>see [Where filter](http://docs.strongloop.com/display/public/LB/Where+filter).
* <br/>see
* [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforothermethods).
* @param {Object} data Object containing data to replace matching instances, if any.
*
* @callback {Function} callback Callback function called with `(err, info)` arguments. Required.
@ -308,7 +312,8 @@ module.exports = function(registry) {
* ```
* { key: val, key2: {gt: 'val2'}, ...}
* ```
* <br/>See [Where filter](http://docs.strongloop.com/display/LB/Where+filter).
* <br/>See
* [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforothermethods).
* @callback {Function} callback Callback function called with `(err, count)` arguments. Required.
* @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).
* @param {Number} count Number of instances updated.