Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database/gdb/gdb_func.go #3866

Open
cbtan opened this issue Oct 18, 2024 · 5 comments
Open

database/gdb/gdb_func.go #3866

cbtan opened this issue Oct 18, 2024 · 5 comments

Comments

@cbtan
Copy link

cbtan commented Oct 18, 2024

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

Copy link

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
Copy link
Member

gqcn commented Oct 20, 2024

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

@Issues-translate-bot
Copy link

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
Copy link
Author

cbtan commented Oct 21, 2024

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

对对对对对对对对对

@Issues-translate-bot
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants