Update gdb_model_fields.go

annotation typo fix
This commit is contained in:
Eagle
2021-07-08 15:42:51 +08:00
committed by GitHub
parent 2970864158
commit 2a1634fd6f

View File

@ -90,7 +90,7 @@ func (m *Model) FieldsStr(prefix ...string) string {
}
// GetFieldsStr retrieves and returns all fields from the table, joined with char ','.
// The optional parameter `prefix` specifies the prefix for each field, eg: FieldsStr("u.").
// The optional parameter `prefix` specifies the prefix for each field, eg: GetFieldsStr("u.").
func (m *Model) GetFieldsStr(prefix ...string) string {
prefixStr := ""
if len(prefix) > 0 {