Skip to content
欢迎扫码关注公众号

FluentData Error: Could not map

查询后生成对应的模型时出现 Could not map 的错。

原因是查询关联了 2 张表,查询字段里直接写了 select * 导致的。
查询的字段过多,模型中没有对应的属性,导致绑定时出错。

修改为 select tablename.* 后就对了.

注意

如果几张表中有重复的字段,后面的字段值应该会覆盖前面的值.

Page Layout Max Width

Adjust the exact value of the page width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the page layout
A ranged slider for user to choose and customize their desired width of the maximum width of the page layout can go.

Content Layout Max Width

Adjust the exact value of the document content width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the content layout
A ranged slider for user to choose and customize their desired width of the maximum width of the content layout can go.