dbdiff icon indicating copy to clipboard operation
dbdiff copied to clipboard

describeDatabase hangs

Open spencerdcarlson opened this issue 7 years ago • 2 comments

dbdiff.describeDatabase(conn1) .then((schema) => { console.log(schema) })

prints the schema, but hangs in the terminal

spencerdcarlson avatar Nov 14 '17 04:11 spencerdcarlson

That's because the connection is still alive. I'll check how the connection is handled and if necessary provide a way to close it or close it automatically.

gimenete avatar Nov 14 '17 10:11 gimenete

Submitted another PR to address the hanging issue. https://github.com/gimenete/dbdiff/pull/18

spencerdcarlson avatar Nov 17 '17 04:11 spencerdcarlson