From 551a64ecfeaf0eccdbe86ce1e4e85866fb60ed81 Mon Sep 17 00:00:00 2001 From: yazz Date: Wed, 20 Nov 2024 17:38:28 +0100 Subject: [PATCH] Can store some of the SQL updates in a structure in the debugger --- public/go.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/public/go.html b/public/go.html index aa6c481a6..9745a1264 100644 --- a/public/go.html +++ b/public/go.html @@ -9719,6 +9719,20 @@ mm.selectedTraceLogItemArguments = JSON.parse(mm.selectedTraceLogItem.arguments) } + + // + // sort out the SQL statement log + // + let sqlLogRecord1 = sqlui1( "select * from ui_table_debug_sql_log where fk_parent_debug_trace_log_id = ?",[mm.log_id]) + if (sqlLogRecord1) { + debugger + mm.sqlUiDbUpdates[mm.log_id] = { + traceLogRecord: sqlLogRecord1 + } + } + + //sqlUiDbUpdates + mm.refresh++ }, methods: {