Doc:Add option for discoverModelDefinitions

This commit is contained in:
jannyHou 2017-03-13 10:27:53 -04:00 committed by Diana Lau
parent 11c2a19ad2
commit 7373e1ae31
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
*