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

请问多列 in 查询怎么写 #1114

Open
Merena opened this issue Jun 19, 2024 · 4 comments
Open

请问多列 in 查询怎么写 #1114

Merena opened this issue Jun 19, 2024 · 4 comments

Comments

@Merena
Copy link

Merena commented Jun 19, 2024

swift中,请问select * from aTable where (a,b) in (values (1,2),(3,4)) 中,where的部分怎么改成WINQ呢

@Qiuwen-chen
Copy link
Collaborator

It's not a valid sql for SQLite.

@Merena
Copy link
Author

Merena commented Jun 19, 2024

网上说sqlite支持这么写,而且在SQliteStudio里能执行成功

https://blog.csdn.net/mzl87/article/details/125723853

截屏2024-06-19 17 04 24

截屏2024-06-19 17 05 05

@Qiuwen-chen
Copy link
Collaborator

Indeed, it is not supported in Swift Winq yet. For now, you can convert it into multiple conditions.

@Merena
Copy link
Author

Merena commented Jun 20, 2024

OK,thank you.

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

No branches or pull requests

2 participants