mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
Update gdb_model_fields.go
annotation typo fix
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user