@@ -281,7 +281,7 @@ func (o {{$alias.UpSingular}}Slice) DeleteAll({{if .NoContext}}exec boil.Executo
281281 args = append(args, pkeyArgs... )
282282 }
283283 sql = " DELETE FROM {{$schemaTable}} WHERE " +
284- strmangle.WhereInClause (string(dialect.LQ ), string(dialect.RQ ), {{if .Dialect.UseIndexPlaceholders }}1{{else }}0{{end }}, {{$alias .DownSingular }}PrimaryKeyColumns, len (o))
284+ strmangle.WhereClauseRepeated (string(dialect.LQ ), string(dialect.RQ ), {{if .Dialect.UseIndexPlaceholders }}1{{else }}0{{end }}, {{$alias .DownSingular }}PrimaryKeyColumns, len (o))
285285 } else {
286286 currTime := time.Now ().In (boil.GetLocation ())
287287 for _, obj := range o {
@@ -291,7 +291,7 @@ func (o {{$alias.UpSingular}}Slice) DeleteAll({{if .NoContext}}exec boil.Executo
291291 }
292292 wl := []string{" {{$softDelCol}}" }
293293 sql = fmt.Sprintf (" UPDATE {{$schemaTable}} SET %s WHERE " +
294- strmangle.WhereInClause (string(dialect.LQ ), string(dialect.RQ ), {{if .Dialect.UseIndexPlaceholders }}2{{else }}0{{end }}, {{$alias .DownSingular }}PrimaryKeyColumns, len (o)),
294+ strmangle.WhereClauseRepeated (string(dialect.LQ ), string(dialect.RQ ), {{if .Dialect.UseIndexPlaceholders }}2{{else }}0{{end }}, {{$alias .DownSingular }}PrimaryKeyColumns, len (o)),
295295 strmangle.SetParamNames (" {{.LQ}}" , " {{.RQ}}" , {{if .Dialect.UseIndexPlaceholders }}1{{else }}0{{end }}, wl),
296296 )
297297 args = append([]interface{}{currTime}, args... )
@@ -304,7 +304,7 @@ func (o {{$alias.UpSingular}}Slice) DeleteAll({{if .NoContext}}exec boil.Executo
304304 }
305305
306306 sql := " DELETE FROM {{$schemaTable}} WHERE " +
307- strmangle.WhereInClause (string(dialect.LQ ), string(dialect.RQ ), {{if .Dialect.UseIndexPlaceholders }}1{{else }}0{{end }}, {{$alias .DownSingular }}PrimaryKeyColumns, len (o))
307+ strmangle.WhereClauseRepeated (string(dialect.LQ ), string(dialect.RQ ), {{if .Dialect.UseIndexPlaceholders }}1{{else }}0{{end }}, {{$alias .DownSingular }}PrimaryKeyColumns, len (o))
308308 {{- end }}
309309
310310 {{if .NoContext -}}
0 commit comments