FluentData Error: Could not map
查询后生成对应的模型时出现 Could not map 的错。
原因是查询关联了 2 张表,查询字段里直接写了 select *
导致的。
查询的字段过多,模型中没有对应的属性,导致绑定时出错。
修改为 select tablename.*
后就对了.
注意
如果几张表中有重复的字段,后面的字段值应该会覆盖前面的值.
查询后生成对应的模型时出现 Could not map 的错。
原因是查询关联了 2 张表,查询字段里直接写了 select *
导致的。
查询的字段过多,模型中没有对应的属性,导致绑定时出错。
修改为 select tablename.*
后就对了.
注意
如果几张表中有重复的字段,后面的字段值应该会覆盖前面的值.
Adjust the exact value of the page width of VitePress layout to adapt to different reading needs and screens.
Adjust the exact value of the document content width of VitePress layout to adapt to different reading needs and screens.