adding close to buildSchema
This commit is contained in:
parent
06774c1452
commit
bfb6e20bb8
|
@ -204,6 +204,8 @@ module PostgresModule {
|
|||
}
|
||||
} catch (err) {
|
||||
tableKeys = {}
|
||||
} finally {
|
||||
await this.client.close()
|
||||
}
|
||||
|
||||
const columnsResponse = await this.client.query(this.COLUMNS_SQL)
|
||||
|
|
Loading…
Reference in New Issue