gogf / gf

GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
https://goframe.org
MIT License
11.62k stars 1.58k forks source link

database/gdb/gdb_func.go #3866

Open cbtan opened 3 days ago

cbtan commented 3 days ago

Is your feature request related to a problem?

Option Yes

Describe the solution you'd like

数据库是: SQLSERVER 2008 r2 文件路径: database/gdb/gdb_func.go 函数名 : getFieldsFromStructOrMap

if ormTagValue != "" && gregex.IsMatchString(regularFieldNameRegPattern, ormTagValue) { fields = append(fields, ormTagValue) } else { fields = append(fields, structField.Name()) }

Describe alternatives you've considered

这里限制了不支持中文

Additional

No response

github-actions[bot] commented 1 day ago

Hello @cbtan. We like your proposal/feedback and would appreciate a contribution via a Pull Request by you or another community member. We thank you in advance for your contribution and are looking forward to reviewing it! 你好 @cbtan。我们喜欢您的提案/反馈,并希望您或其他社区成员通过拉取请求做出贡献。我们提前感谢您的贡献,并期待对其进行审查。

gqcn commented 1 day ago

这个issue没有描述清楚,我猜测应该是需要ORM支持表名和字段名是中文字符。

Issues-translate-bot commented 1 day ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


This issue is not clearly described. I guess it requires ORM to support table names and field names in Chinese characters.

cbtan commented 1 day ago

这个issue没有描述清楚,我猜测应该是需要ORM支持表名和字段名是中文字符。

对对对对对对对对对

Issues-translate-bot commented 1 day ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


This issue is not clearly described. I guess it requires ORM to support table names and field names in Chinese characters.

Yes, yes, yes, yes, yes, yes