]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Tue, 11 Jul 2023 05:52:03 +0000 (07:52 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 11 Jul 2023 05:52:03 +0000 (07:52 +0200)
- just remove that single hash to get final SQL statements being printed

fba/database.py

index b87d94d68ac81172ceb7f44fd04ec253391fee10..4a1ceb6244328c12d9892cca3d0888ed24a0dcef 100644 (file)
@@ -22,6 +22,9 @@ logger = logging.getLogger(__name__)
 # Connect to database
 connection = sqlite3.connect("blocks.db")
 
+# Attach trace function
+#connection.set_trace_callback(print)
+
 # Init row factory
 connection.row_factory = sqlite3.Row