fix documentation

This commit is contained in:
Anis Jonischkeit 2020-06-08 21:22:22 +10:00 committed by GitHub
parent fdeef56d53
commit 40eb2b80c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ type Expression interface {
// ASC expression will be used to sort query result in ascending order
ASC() OrderByClause
// DESC expression will be used to sort query result in ascending order
// DESC expression will be used to sort query result in descending order
DESC() OrderByClause
}
@ -66,7 +66,7 @@ func (e *ExpressionInterfaceImpl) ASC() OrderByClause {
return newOrderByClause(e.Parent, true)
}
// DESC expression will be used to sort query result in ascending order
// DESC expression will be used to sort query result in descending order
func (e *ExpressionInterfaceImpl) DESC() OrderByClause {
return newOrderByClause(e.Parent, false)
}