github.com/Ali-iotechsys/sqlboiler/v4@v4.0.0-20221208124957-6aec9a5f1f71/drivers/sqlboiler-mssql/driver/override/test/singleton/mssql_suites_test.go.tpl (about)

     1  func TestUpsert(t *testing.T) {
     2    {{- range $index, $table := .Tables}}
     3    {{- if or $table.IsJoinTable $table.IsView -}}
     4    {{- else -}}
     5    {{- $alias := $.Aliases.Table $table.Name}}
     6    t.Run("{{$alias.UpPlural}}", test{{$alias.UpPlural}}Upsert)
     7    {{end -}}
     8    {{- end -}}
     9  }