We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea05a02 commit 0659c61Copy full SHA for 0659c61
controller/middleware.go
@@ -197,6 +197,10 @@ func middlewareDotCommand(queryData *QueryData) bool {
197
queryData.StatusCode = 0
198
} else {
199
switch strings.ToLower(args[0]) {
200
+ case "sql":
201
+ queryData.Config.SetString("language", "")
202
+ queryData.Message = "Switched back to SQL"
203
+
204
case "prql":
205
queryData.Config.SetString("language", "prql")
206
queryData.Message = "Switched to PRQL"
0 commit comments