Merge pull request #1264 from strongloop/doc/discovermodeldefinitions-options

doc: Add option for discoverModelDefinitions
This commit is contained in:
dhmlau 2017-03-15 02:40:54 +00:00 committed by GitHub
commit 33d0475d82
1 changed files with 2 additions and 1 deletions

View File

@ -917,8 +917,9 @@ DataSource.prototype.autoupdate = function(models, cb) {
* @param {Object} options The options
* @param {Function} Callback function. Optional.
* @options {Object} options Discovery options. See below.
* @property {String} owner/schema The owner or schema to discover from.
* @property {Boolean} all If true, discover all models; if false, discover only models owned by the current user.
* @property {Boolean} views If true, nclude views; if false, only tables.
* @property {Boolean} views If true, include views; if false, only tables.
* @property {Number} limit Page size
* @property {Number} offset Starting index
*