Add fast path for binding by caching TitleCase

This commit is contained in:
Aaron L 2016-08-23 23:20:41 -07:00
parent d130354890
commit 28e485603a
17 changed files with 104 additions and 49 deletions

View file

@ -77,6 +77,7 @@ func textsFromForeignKey(packageName string, tables []bdb.Table, table bdb.Table
func textsFromOneToOneRelationship(packageName string, tables []bdb.Table, table bdb.Table, toMany bdb.ToManyRelationship) RelationshipToOneTexts {
fkey := bdb.ForeignKey{
Table: toMany.Table,
Name: "none",
Column: toMany.Column,
Nullable: toMany.Nullable,