Original query:
\n") + buffer.Html(``) + buffer.Text(string(request.IncomingQueryBody)) + buffer.Html("\n") + buffer.Html(`
Translated SQL:
\n") + buffer.Html(``) + buffer.Text(sqlfmt.SqlPrettyPrint(request.QueryBodyTranslated)) + buffer.Html("\n") + buffer.Html(`
`) + if requestFound && len(request.logMessages) > 0 { + buffer.Html("Logs:
\n") + buffer.Write(logMessages) + } else { + buffer.Html("No logs for this request\n") + } - debugKeyValueSlice := []queryDebugInfoWithId{} + // Show ElasticSearch and Quesma Response if requestFound { - debugKeyValueSlice = append(debugKeyValueSlice, queryDebugInfoWithId{requestId, request}) + buffer.Html(`Elastic response").Text(tookStr).Html("
\n") + buffer.Html(``) + buffer.Text(string(request.QueryDebugPrimarySource.QueryResp)) + buffer.Html("\n") + } else { + buffer.Html("
No Elastic response for this request
\n") + } + buffer.Html(`Quesma response").Text(tookStr).Html("
\n") + buffer.Html(``) + buffer.Text(string(request.QueryDebugSecondarySource.QueryTranslatedResults)) + buffer.Html("\n") + } else { + buffer.Html("
No Quesma response for this request
\n") + } + buffer.Html(`