Why Find{{ .Name }} is not generated when there is no columns except primary key?
cloverrose opened this issue · comments
Lines 157 to 196 in 20fce06
Hi, this is just a question. I want to know the background of it.
I imagine I want to use Find{{ .Name }}
method to know the data already exists or not.
Sorry I overlooked this issue. I confirmed FindXXX method is not genreated if the table is consists of primary keys only.
I think Yo should generate the methods for those tables too.