getConnectionInfo()

in backend/src/models/GraphRepository.js [157:171]


    getConnectionInfo() {
        if (!this._host || !this._port || !this._database) {
            throw new Error("Not connected");
        }
        return {
            host: this._host,
            version: this._server_version,
            port: this._port,
            database: this._database,
            user: this._user,
            password: this._password,
            graphs: this._graphs,
            graph: this._graph,
        };
    }