Skip to content

Commit

Permalink
added result log
Browse files Browse the repository at this point in the history
  • Loading branch information
vijay-qlogic committed Jul 10, 2018
1 parent af0b454 commit b64b52c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion samples/instance-snippets.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,11 @@ function getTables(instanceId) {
instance
.getTables(options)
.then(result => {
console.log(`Tables: \n${result[0]}`);
console.log(`Tables:`);
let tables = result[0];
tables.forEach(t => {
console.log(t.name);
});
})
.catch(err => {
console.error('Error geting Tables: ', err);
Expand Down

0 comments on commit b64b52c

Please sign in to comment.