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

关于sequelize多表联合查询的问题 #3

Open
tscls168 opened this issue Jun 5, 2019 · 1 comment
Open

关于sequelize多表联合查询的问题 #3

tscls168 opened this issue Jun 5, 2019 · 1 comment

Comments

@tscls168
Copy link

tscls168 commented Jun 5, 2019

请问,如果我想进行两张表联合查询,应该怎么写啊?百度了一些方法,最终总是提示没有关联

@caihg
Copy link
Owner

caihg commented Jun 6, 2019

试试 distinct
https://www.onlyling.com/archives/245

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