added typeaheead and introspetion

This commit is contained in:
Mark Gregory
2026-10-18 17:28:38 +01:00
parent 543b639ffc
commit c102bef2a6
4 changed files with 34 additions and 8 deletions
+2 -1
View File
@@ -462,7 +462,8 @@ final class DatabaseModel: ObservableObject {
columns[row[0], default: []].append(column)
}
// Ignore results from a connection that has been removed while loading.
guard profiles.contains(where: { $0.id == profile.id }) else { return }
guard profiles.contains(where: { $0.id == profile.id }),
selected?.id == profile.id else { return }
let previous = introspections[key]
let current = SchemaIntrospection(
connectionID: profile.id, database: database,