fix documentation
This commit is contained in:
parent
fdeef56d53
commit
40eb2b80c4
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ type Expression interface {
|
||||||
|
|
||||||
// ASC expression will be used to sort query result in ascending order
|
// ASC expression will be used to sort query result in ascending order
|
||||||
ASC() OrderByClause
|
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
|
DESC() OrderByClause
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -66,7 +66,7 @@ func (e *ExpressionInterfaceImpl) ASC() OrderByClause {
|
||||||
return newOrderByClause(e.Parent, true)
|
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 {
|
func (e *ExpressionInterfaceImpl) DESC() OrderByClause {
|
||||||
return newOrderByClause(e.Parent, false)
|
return newOrderByClause(e.Parent, false)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue