This commit is contained in:
jianzhiyao
2020-10-26 19:52:21 +08:00
parent d24388ad81
commit beedfa1b53
2 changed files with 35 additions and 1 deletions

View File

@@ -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)
}
}