SqlKata - Dynamic Sql query builder for dotnet | Product Hunt

🎉 SqlKata is now on Product Hunt

Please upvote to support the product development

Order

OrderBy

//:playground
var query = new Query("Comments").OrderBy("Date").OrderByDesc("Name");
SELECT * FROM [Comments] ORDER BY [Date], [Name] DESC

OrderByRaw

//:playground
var query = new Query("Comments").OrderByRaw("[Likes] DESC NULLS LAST")

In PostgreSql

SELECT * FROM "Comments" ORDER BY "Likes" DESC NULLS LAST
Heap apparel

THE APPAREL BRAND FOR DEVELOPERS

one email per month about tips & tricks, new features, and maybe community feedback