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

是否支持一对一,一对多,多对多查询,并且返回自定义vo,求示例!!! #51

Closed
doufuplus opened this issue Sep 2, 2019 · 1 comment

Comments

@doufuplus
Copy link

如标题

@doufuplus doufuplus changed the title 是否支持一对一,一对多查询,返回自定义vo,求示例!!! 是否支持一对一,一对多,多对多查询,并且返回自定义vo,求示例!!! Sep 2, 2019
@stormning
Copy link
Collaborator

不支持一对多、多对多(拒绝JOIN)。用得不好会造成N+1问题,缓存不好处理,分表分库也不行。项目里提供了装配的方案,EntityAssembler,以1+1=2的方式解决多表问题。

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

No branches or pull requests

2 participants