sqlboiler/templates_test/types.tpl
Aaron L c624943f53 Make a rough sketch of what this would look like
Needs cleanup: Do not merge
2016-09-16 00:22:12 -07:00

5 lines
203 B
Smarty

{{- $varNameSingular := .Table.Name | singular | camelCase -}}
var (
{{$varNameSingular}}DBTypes = map[string]string{{"{"}}{{.Table.Columns | columnDBTypes | makeStringMap}}{{"}"}}
_ = bytes.MinRead
)