Skip to content

Commit

Permalink
add Min() and Max() for DateExpression
Browse files Browse the repository at this point in the history
  • Loading branch information
lqs committed Sep 11, 2024
1 parent 2a5c602 commit e01ed0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions expression.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ type ArrayExpression interface {

type DateExpression interface {
Expression
Min() UnknownExpression
Max() UnknownExpression
}

// UnknownExpression is the interface of an SQL expression with unknown value.
Expand Down

0 comments on commit e01ed0b

Please sign in to comment.