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

如果是数据库查询根据多个字段排序要怎么写呢 #503

Closed
yixiu30 opened this issue Mar 8, 2021 · 2 comments
Closed

如果是数据库查询根据多个字段排序要怎么写呢 #503

yixiu30 opened this issue Mar 8, 2021 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@yixiu30
Copy link

yixiu30 commented Mar 8, 2021

No description provided.

@yixiu30
Copy link
Author

yixiu30 commented Mar 8, 2021

SQL query arguments and method parameters have to match.不能这么写吗
SELECT * FROM person WHERE id = :id order by name

@vitusortner
Copy link
Collaborator

vitusortner commented Mar 14, 2021

This is a known limitation of floor. You can find a workaround and more context here #480, #142, #402.

@vitusortner vitusortner added the duplicate This issue or pull request already exists label Mar 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Development

No branches or pull requests

2 participants