ServiceStack/Issues

Queries with OrderBy produces bad SQL in 5.12

dlj opened this issue · 1 comments

dlj commented

Hello

After updating to 5.12, queries with OrderBy started to add "AS" to the expression if a column had an Alias.

Small test using SqlLite has been added. It also happens on SQLServer.

OrmLite.OrderByProblem.zip

mythz commented

This should be resolved from this commit.

This change is available from v5.12.1+ that's now available on MyGet.

Thanks for the repro 👍