Avoid creating a separate base db instance for graph database (#221)

* Avoid creating a separate base db instance for graph database

* Fix failing test file build

* Use getter method to get base database
This commit is contained in:
prathamesh0
2022-11-10 14:51:18 +05:30
committed by GitHub
parent ecd8b2474a
commit 8d3c68873b
40 changed files with 63 additions and 115 deletions
+4
View File
@@ -86,6 +86,10 @@ export class Database {
});
}
get conn (): Connection {
return this._conn;
}
async init (): Promise<Connection> {
assert(!this._conn);