-
Notifications
You must be signed in to change notification settings - Fork 857
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
枚举类型 使用string 存入数据库,在分组聚合中使用枚举时,生成的sql 是按int 值进行比对,期望按 string进行比对。 #1727
Comments
2881099
added a commit
that referenced
this issue
Jan 26, 2024
2881099
added a commit
that referenced
this issue
Jan 26, 2024
2881099
added a commit
that referenced
this issue
Jan 26, 2024
本次更新内容撤销了,特殊情况使用【自定义函数】解析临时解决一下。 |
2881099
added a commit
that referenced
this issue
Feb 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述及重现代码:
枚举类型 使用string 存入数据库,在分组聚合中使用枚举时,生成的sql 是按int 值进行比对,期望按 string进行比对。
Entity关键字段
枚举
执行查询的代码
实际的SQL
期望的SQL
数据库版本
Mysql 8.0.32
安装的Nuget包
3.2.808
.net framework/. net core
.NET7
The text was updated successfully, but these errors were encountered: