Skip to content

Commit b91938e

Browse files
author
Quentin Presley
committed
Update the description for persisted-models
1 parent c8a31e2 commit b91938e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/persisted-model.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,9 @@ module.exports = function(registry) {
797797
accepts: [
798798
{arg: 'filter', type: 'object', description:
799799
'Filter defining fields, where, include, order, offset, and limit - must be a ' +
800-
'JSON-encoded string ({"something":"value"})'},
800+
'JSON-encoded string ({"where":{"something":"value"}}). ' +
801+
'See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries ' +
802+
'for more details.'},
801803
{arg: 'options', type: 'object', http: 'optionsFromRequest'},
802804
],
803805
returns: {arg: 'data', type: [typeName], root: true},

0 commit comments

Comments
 (0)