Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Error ordering by single scalar value after select #7

Open
sflanker opened this issue Oct 12, 2017 · 0 comments
Open

Error ordering by single scalar value after select #7

sflanker opened this issue Oct 12, 2017 · 0 comments

Comments

@sflanker
Copy link
Member

IQueryable<MyType> source = ...;
source.Select(s => s.Id).OrderBy(x => x).ToList();

Generates the error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ASC' at line 1

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

No branches or pull requests

1 participant