goqu icon indicating copy to clipboard operation
goqu copied to clipboard

Is OrderBy helper function available

Open ashu8912 opened this issue 4 years ago • 1 comments

couldn't find docs for OrderBy how do we generate queries that require OrderBy

ashu8912 avatar May 23 '20 11:05 ashu8912

Currently generating ORDER BY using L() expression:

db.From("users").Order(goqu.L("lower(name)").Asc())

scottwernervt avatar May 27 '20 13:05 scottwernervt