parent
3821824c97
commit
8d02e42cf3
|
@ -116,7 +116,7 @@ module.exports = function(registry) {
|
||||||
* If not found, create the object using data provided as second argument.
|
* If not found, create the object using data provided as second argument.
|
||||||
*
|
*
|
||||||
* @param {Object} where Where clause, such as `{test: 'me'}`
|
* @param {Object} where Where clause, such as `{test: 'me'}`
|
||||||
* <br/>see
|
* <br/>see
|
||||||
* [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforothermethods).
|
* [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.
|
* @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.
|
* @callback {Function} callback Callback function called with `cb(err, instance)` arguments. Required.
|
||||||
|
@ -181,7 +181,8 @@ module.exports = function(registry) {
|
||||||
* ```
|
* ```
|
||||||
* { where: { key: val, key2: {gt: 'val2'}, ...} }
|
* { where: { key: val, key2: {gt: 'val2'}, ...} }
|
||||||
* ```
|
* ```
|
||||||
* <br/>See [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforqueries).
|
* <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.
|
* @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).
|
* @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).
|
||||||
|
@ -210,7 +211,7 @@ module.exports = function(registry) {
|
||||||
* ```
|
* ```
|
||||||
* {where: { key: val, key2: {gt: 'val2'}, ...} }
|
* {where: { key: val, key2: {gt: 'val2'}, ...} }
|
||||||
* ```
|
* ```
|
||||||
* <br/>See
|
* <br/>See
|
||||||
* [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforqueries).
|
* [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforqueries).
|
||||||
*
|
*
|
||||||
* @callback {Function} callback Callback function called with `(err, returned-instance)` arguments. Required.
|
* @callback {Function} callback Callback function called with `(err, returned-instance)` arguments. Required.
|
||||||
|
@ -229,7 +230,7 @@ module.exports = function(registry) {
|
||||||
* ```
|
* ```
|
||||||
* {key: val, key2: {gt: 'val2'}, ...}
|
* {key: val, key2: {gt: 'val2'}, ...}
|
||||||
* ```
|
* ```
|
||||||
* <br/>See
|
* <br/>See
|
||||||
* [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforothermethods).
|
* [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforothermethods).
|
||||||
*
|
*
|
||||||
* @callback {Function} callback Optional callback function called with `(err, info)` arguments.
|
* @callback {Function} callback Optional callback function called with `(err, info)` arguments.
|
||||||
|
@ -267,7 +268,7 @@ module.exports = function(registry) {
|
||||||
* ```
|
* ```
|
||||||
* { key: val, key2: {gt: 'val2'}, ...}
|
* { key: val, key2: {gt: 'val2'}, ...}
|
||||||
* ```
|
* ```
|
||||||
* <br/>see
|
* <br/>see
|
||||||
* [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforothermethods).
|
* [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforothermethods).
|
||||||
* @param {Object} data Object containing data to replace matching instances, if any.
|
* @param {Object} data Object containing data to replace matching instances, if any.
|
||||||
*
|
*
|
||||||
|
@ -312,7 +313,7 @@ module.exports = function(registry) {
|
||||||
* ```
|
* ```
|
||||||
* { key: val, key2: {gt: 'val2'}, ...}
|
* { key: val, key2: {gt: 'val2'}, ...}
|
||||||
* ```
|
* ```
|
||||||
* <br/>See
|
* <br/>See
|
||||||
* [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforothermethods).
|
* [Where filter](https://docs.strongloop.com/display/LB/Where+filter#Wherefilter-Whereclauseforothermethods).
|
||||||
* @callback {Function} callback Callback function called with `(err, count)` arguments. Required.
|
* @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 {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).
|
||||||
|
|
Loading…
Reference in New Issue