clock on data process, ready for v1

This commit is contained in:
2023-03-13 20:03:02 +01:00
parent 600ca5112d
commit 11cb2a2b13
9 changed files with 92 additions and 34 deletions
+3
View File
@@ -14,6 +14,9 @@ const db = new Kysely<Database>({
})
}),
log(event) {
if (process.env.ENVIRONMENT != 'production') {
return
}
if (event.level === 'query') {
console.log(event.query.sql)
console.log(event.query.parameters)