From 0596ea2b1ef4b5898a33c7e35b102dc538b52bde Mon Sep 17 00:00:00 2001 From: John Costa Date: Mon, 14 Apr 2025 10:22:54 +0100 Subject: [PATCH] debug --- backend/models/user.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/models/user.go b/backend/models/user.go index 3563222..8c370ed 100644 --- a/backend/models/user.go +++ b/backend/models/user.go @@ -90,6 +90,8 @@ func (m UserModel) ListWithProperties(ctx context.Context, userId uuid.UUID) ([] images := []ImageWithProperties{} + fmt.Println(listWithPropertiesStmt.DebugSql()) + err := listWithPropertiesStmt.QueryContext(ctx, m.dbPool, &images) fmt.Println(images)