% for i, query in enumerate(rql_queries): % if len(str(query["result"])) > 50: % else: % endif % endfor
# Time (ms) RQL Result SQL Description Stack
${1 + i} ${'%.2f' % query["time"]} ${highlight(query["rql"], "RQL") | n}
${highlight(query["args"], "python3") | n}
${highlight(str(query["result"])[:50], "python3") | n}... + ${highlight(query["result"], "python3") | n} % for sql in query["generated_sql_queries"]:
${highlight(sql['sql'], "SQL") | n}
${highlight(sql['args'], "python3") | n}
% endfor
${highlight(query["description"], "python3") | n} show stack