From 7373e1ae3154221274287217ea2162458e66652c Mon Sep 17 00:00:00 2001 From: jannyHou Date: Mon, 13 Mar 2017 10:27:53 -0400 Subject: [PATCH] Doc:Add option for discoverModelDefinitions --- lib/datasource.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/datasource.js b/lib/datasource.js index 4ba6c15c..67786f98 100644 --- a/lib/datasource.js +++ b/lib/datasource.js @@ -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 *