From be081e6e75e2a5ce2d32458ee064e170b9109d27 Mon Sep 17 00:00:00 2001 From: ycc Date: Thu, 28 Sep 2023 16:56:47 +0200 Subject: [PATCH] Add Logging feature attribute --- db.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/db.go b/db.go index 479807b..c431a4b 100755 --- a/db.go +++ b/db.go @@ -17,9 +17,10 @@ import ( ) type Db struct { - Driver string - Url string - conn *sql.DB + Driver string + Url string + LogQueries bool + conn *sql.DB } // AssRow : associative row type