async connect()

in backend/src/models/GraphRepository.js [65:76]


    async connect(){
        if (!this._pool) {
            this._pool = GraphRepository.newConnectionPool(this.getPoolConnectionInfo());
        }
        const client = await this._pool.connect();
        if (!this._server_version){
            const {server_version: v} = await onConnectQueries(client);
            this._server_version = v;
        }

        return client;
    }