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

能否完善下:关联统计方法兼容别名 #484

Open
xhwsd opened this issue Jul 19, 2023 · 0 comments
Open

能否完善下:关联统计方法兼容别名 #484

xhwsd opened this issue Jul 19, 2023 · 0 comments

Comments

@xhwsd
Copy link

xhwsd commented Jul 19, 2023

能否完善关联统计相关方法兼容主表有别名的情况(无需独立语句查询):

  • 当使用hasWhere时,会给主表加上别名(简单类名)
  • withCountwithSum等方法则使用完整表名去比对检测

(topthink/think-orm v2.0.61 think orm)

QQ截图20230719124403
QQ截图20230719124442
QQ截图20230719124624

@xhwsd xhwsd changed the title 能否完善关联统计方法兼容别名情况 能否完善下:关联统计方法兼容别名情况 Jul 19, 2023
@xhwsd xhwsd changed the title 能否完善下:关联统计方法兼容别名情况 能否完善下:关联统计方法兼容别名 Jul 19, 2023
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

1 participant