A native macOS / windows / Linux database IDE built with Swift and AppKit. Connect to PostgreSQL, MySQL, SQLite, and Redis from a single app with a fast, keyboard-driven interface.
C++
// TestConnectionUseCase.swift
// Gridex
import Foundation
protocol TestConnectionUseCase: Sendable {
func execute(config: ConnectionConfig, password: String?, sshPassword: String?) async throws -> ConnectionTestResult
}
struct ConnectionTestResult: Sendable {
let success: Bool
let serverVersion: String?
let latency: TimeInterval
let errorMessage: String?
}