debug log removed

This commit is contained in:
Pavel Merzlyakov 2023-09-11 17:48:49 +03:00
parent 174cf70343
commit 0001faaf6e
1 changed files with 0 additions and 4 deletions

View File

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