github.com/Ali-iotechsys/sqlboiler/v4@v4.0.0-20221208124957-6aec9a5f1f71/templates/main/singleton/boil_view_names.go.tpl (about)

     1  var ViewNames = struct {
     2  	{{range $table := .Tables}}{{if $table.IsView -}}
     3  	{{titleCase $table.Name}} string
     4  	{{end}}{{end -}}
     5  }{
     6  	{{range $table := .Tables}}{{if $table.IsView -}}
     7  	{{titleCase $table.Name}}: "{{$table.Name}}",
     8  	{{end}}{{end -}}
     9  }
    10