loopbackio / loopback-connector-oracle

Connect Loopback to Oracle
http://loopback.io/doc/en/lb3/Oracle-connector.html
Other
28 stars 30 forks source link

ds.discoverSchema vs ds.discoverSchemas #158

Closed bssiva closed 5 years ago

bssiva commented 6 years ago

Hi All,

I was going thru the app.js exmaple file and I have this doubt. Is the ds.discoverSchema and ds.discoverSchemas are one and the same ?

I was trying to run the script using ds.discoverSchemas as well as ds.discoverSchema APIs

The ds.discoverSchemas gives me an output "undefined" whereas ds.discoverSchema doesn't seems to be executed.

/* ds.discoverSchemas('table_name', {schema: 'ABC', relations: false, all: true}, function(err, schema) {
           if(err){
        console.log('error occured', err);
    }
  console.log('value of the schema', JSON.stringify(schema)); */ 

Could you please help me to understand this better or am I missing something. Thanks in advance.

Regards, Siva.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 5 years ago

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.