async getConnectionStatus()

in backend/src/services/databaseService.js [172:185]


    async getConnectionStatus() {
        let graphRepository = this._graphRepository;
        if (graphRepository == null) {
            return false;
        }

        try {
            let client = await graphRepository.getConnection();
            client.release();
        } catch (err) {
            return false;
        }
        return true;
    }