We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 028caa1 commit ed73397Copy full SHA for ed73397
templates/main/00_struct.go.tpl
@@ -71,6 +71,8 @@ var {{$alias.UpSingular}}TableColumns = struct {
71
{{end -}}
72
}
73
74
+const {{$alias.UpSingular}}TableName = "{{.Table.Name}}"
75
+
76
{{/* Generated where helpers for all types in the database */}}
77
// Generated where
78
{{- range .Table.Columns -}}
0 commit comments