add UT
This commit is contained in:
@@ -71,7 +71,7 @@ func ParseOrder(expressions ...string) []*Order {
|
||||
|
||||
func OrderColumn(column string) OrderOption {
|
||||
return func(order *Order) {
|
||||
order.column = column
|
||||
order.column = strings.ReplaceAll(column, ExprSep, ExprDot)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user