Skip to content

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++

fix(redis): match adapter command normalization

Tobi97c232d31532
diff --git a/macos/App/State/AppState.swift b/macos/App/State/AppState.swift
index e9d782b..0a47d93 100644
--- a/macos/App/State/AppState.swift
+++ b/macos/App/State/AppState.swift
@@ -874,7 +874,7 @@ final class AppState: ObservableObject {
statement.trimmingCharacters(in: .whitespacesAndNewlines)
)
guard tokens.count == 2,
- tokens[0].lowercased() == "select",
+ tokens[0].uppercased() == "SELECT",
!tokens[1].isEmpty,
tokens[1].unicodeScalars.allSatisfy({
$0.value >= 48 && $0.value <= 57