debug log removed
This commit is contained in:
parent
174cf70343
commit
0001faaf6e
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue