From 0ff541b7b6a915d70613ef2bef6637d22928005f 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)