Postgres refactor.

This commit is contained in:
go-jet 2019-08-11 09:52:02 +02:00
parent d00167cbba
commit 8519ccbdd0
57 changed files with 2451 additions and 598 deletions

View file

@ -3,7 +3,7 @@ package jet
import "errors"
// OrderByClause
type orderByClause interface {
type OrderByClause interface {
serializeForOrderBy(statement StatementType, out *SqlBuilder) error
}
@ -30,6 +30,6 @@ func (o *orderByClauseImpl) serializeForOrderBy(statement StatementType, out *Sq
return nil
}
func newOrderByClause(expression Expression, ascent bool) orderByClause {
func newOrderByClause(expression Expression, ascent bool) OrderByClause {
return &orderByClauseImpl{expression: expression, ascent: ascent}
}