diff -r fb97669efcaa -r 771c99f16780 cubicweb/pyramid/debug_toolbar_templates/sql.dbtmako --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cubicweb/pyramid/debug_toolbar_templates/sql.dbtmako Thu Nov 14 01:01:00 2019 +0100 @@ -0,0 +1,93 @@ + + + + + + + + + + + + + % for i, query in enumerate(sql_queries): + + + + + + + + + + + + + % endfor + +
#Time (ms)SQLRollback?From RQLStack
${1 + i}${'%.2f' % query["time"]}${highlight(query["sql"], "SQL") | n}
${highlight(query["args"], "python3") | n}
${query["rollback"]} + % if query["from_rql_query"]: + ${highlight(query["from_rql_query"]["rql"], "rql") | n} + % else: + standalone query + % endif + +
+ + + +