strongloop / strong-arc

StrongLoop Arc has been replaced by API Connect. We recommend Arc users move to the Essentials edition of API Connect. If you have questions, please email reachsl@us.ibm.com.
http://strongloop.com/
Other
115 stars 36 forks source link

mssql Connector - build models from source: Only objects of a "dbo" owner are returned. #1376

Open jgcoding opened 9 years ago

jgcoding commented 9 years ago

How does one get anything other than a "dbo" "owner" object to be included in the results (see image attached) I have tried: 1) "owner": "scada" 2) "schema": "scada" 3) "options": { "all": true } 4) "owner": "dbo" --(which in SSMS shows all schema")

strongloop arc issue

nasihere commented 9 years ago

Example function queryTables(options) { var sqlTables = null; var owner = options.owner || options.schema; owner = "Evare"; //override owner variable with your schema name or hardcode the value if (options.all && !owner) { sqlTables = paginateSQL('SELECT \'table\' AS "type", table_name AS "name", table_schema AS "owner"'

Waiting to get fixed from Strongloop team soon. so i don't need to touch that variable whenever i need to generate or regenerate models.

Thanks Nasir

cognitus commented 8 years ago

any news?