From 0001faaf6ec02dbd6a4ae9f0c74ccca6e25ce325 Mon Sep 17 00:00:00 2001 From: Pavel Merzlyakov Date: Mon, 11 Sep 2023 17:48:49 +0300 Subject: [PATCH] debug log removed --- tpl/macros_struct.twig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tpl/macros_struct.twig b/tpl/macros_struct.twig index aead33c..706e655 100644 --- a/tpl/macros_struct.twig +++ b/tpl/macros_struct.twig @@ -122,8 +122,6 @@ func Save{{ ctx.s.name }}Collection(ctx context.Context, dbe metadb.Execer, recs } builder.WriteString(" ON DUPLICATE KEY UPDATE {{ ctx.insert_update_expr }}") - fmt.Println(builder.String()) - _, saveErr := dbe.ExecContext(ctx, builder.String(), values...) return errors.WithStack(saveErr) } @@ -212,8 +210,6 @@ func Save{{ ctx.s.name }}Diff(ctx context.Context, dbe metadb.Execer, rec {{ ctx queryBuilder.WriteString(valuesBuilder.String()) queryBuilder.WriteString(updateBuilder.String()) - fmt.Println(queryBuilder.String()) - _, saveErr := dbe.ExecContext(ctx, queryBuilder.String(), values...) return errors.Wrap(saveErr, queryBuilder.String()) }