Update the description for persisted-models

This commit is contained in:
Quentin Presley 2019-03-15 07:39:40 -07:00
parent c8a31e2725
commit b91938ecdf
1 changed files with 3 additions and 1 deletions

View File

@ -797,7 +797,9 @@ module.exports = function(registry) {
accepts: [
{arg: 'filter', type: 'object', description:
'Filter defining fields, where, include, order, offset, and limit - must be a ' +
'JSON-encoded string ({"something":"value"})'},
'JSON-encoded string ({"where":{"something":"value"}}). ' +
'See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries ' +
'for more details.'},
{arg: 'options', type: 'object', http: 'optionsFromRequest'},
],
returns: {arg: 'data', type: [typeName], root: true},