diff --git a/lib/dao.js b/lib/dao.js index e93a58e9..645662c5 100644 --- a/lib/dao.js +++ b/lib/dao.js @@ -449,7 +449,7 @@ DataAccessObject.find = function find(params, cb) { // all ~ remoting attributes setRemoting(DataAccessObject.find, { - description: 'Find all instances of the model by filter from the data source', + description: 'Find all instances of the model matched by filter from the data source', accepts: {arg: 'filter', type: 'object'}, returns: {arg: 'data', type: 'array', root: true}, http: {verb: 'get', path: '/'} @@ -476,7 +476,7 @@ DataAccessObject.findOne = function findOne(params, cb) { }; setRemoting(DataAccessObject.findOne, { - description: 'Find first instance of the model by filter from the data source', + description: 'Find first instance of the model matched by filter from the data source', accepts: {arg: 'filter', type: 'object'}, returns: {arg: 'data', type: 'object', root: true}, http: {verb: 'get', path: '/findOne'} @@ -553,7 +553,7 @@ DataAccessObject.count = function (where, cb) { // count ~ remoting attributes setRemoting(DataAccessObject.count, { - description: 'Count instances of the model by the where condition', + description: 'Count instances of the model matched by where from the data source', accepts: {arg: 'where', type: 'object'}, returns: {arg: 'count', type: 'number'}, http: {verb: 'get', path: '/count'}