We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
场景: 销售订单 关联有很多档案,算上订单表体的关联 多达30+ 目前的场景是 依次加载每一个关联的实体,这就会执行 30+条SQL 实际 一般都是 toOne 查询,可以合并成 join 查询 以减少数据库请求次数 来提升执行效率
额外的, toOne 有时候可能是大表,可以默认 join 执行,用户可以更改为独立执行 属性可以放在 Navigate 注解上,实体的和DTO的是否join查询可以不一致
The text was updated successfully, but these errors were encountered:
No branches or pull requests
场景: 销售订单 关联有很多档案,算上订单表体的关联 多达30+
目前的场景是 依次加载每一个关联的实体,这就会执行 30+条SQL
实际 一般都是 toOne 查询,可以合并成 join 查询 以减少数据库请求次数 来提升执行效率
额外的, toOne 有时候可能是大表,可以默认 join 执行,用户可以更改为独立执行 属性可以放在 Navigate 注解上,实体的和DTO的是否join查询可以不一致
The text was updated successfully, but these errors were encountered: