-
Notifications
You must be signed in to change notification settings - Fork 856
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
咨询string, parms 形式的OrderBy写法 #361
Comments
OrderBy(“created desc, id asc”) |
2881099
pushed a commit
that referenced
this issue
Sep 18, 2020
2881099
pushed a commit
that referenced
this issue
Sep 18, 2020
ISelectGrouping 不能字符串 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OrderBy | | string, parms | 按原生sql语法排序,OrderBy("count(name) + ?cc", new { cc = 1 })
select * from Tags order by created, category desc
多个字段排序如何写呢?tks
return conn.Select(parms)
.Count(out total)
.Page(current, pageSize)
.OrderBy(“created + @cc" , new {cc= 1})
.ToList();
The text was updated successfully, but these errors were encountered: