Mirror of
forum.nim-lang.org
index
5933 :: Is it possible to see sql executed?
[2020-02-15T10:35:32+01:00]
View Orginal
jjude
(orginal)
[2020-02-15T10:35:32+01:00]
view original
I'm using Jester to create a web-application. It connects to sqlite using db_sqlite. For debugging purposes is it possible to see sqls executed during development?
moigagoo
(orginal)
[2020-02-15T16:02:19+01:00]
view original
If you use Norm, you can use logging module to log all generated queries, just add
import logging; addHandler newConsoleLogger()