gbase8s where中使用子查询的问题 返回

SqlSugar 待处理
131
该叫什么 Miracle 发布于1周前
悬赏:5 飞吻
var getAll = db.Queryable<Student, School>((st, sc) => new JoinQueryInfos(JoinType.Left,st.Id==sc.Id) )
.Where(st => st.Id == SqlFunc.Subqueryable<School>().Where(s => s.Id == st.Id).Select(s => s.Id))
.ToList();

版本:SqlSugar.GBaseCore (5.1.4.222)

sqlSugarCore 5.1.4.215

gbase 中  缺少了first 1 ,导致报这个错ERROR [HY000] [GBasedbt][GBasedbt ODBC Driver][GBasedbt]The number of derived columns do not match the actual number of columns.”

热忱回答0