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()) }