Skip to content

Commit

Permalink
style: tidy up todos
Browse files Browse the repository at this point in the history
  • Loading branch information
tr1v3r committed Sep 27, 2021
1 parent 60242dd commit e3d7003
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions field/expr.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ func (e expr) WithTable(table string) Expr {
return e
}

// TODO add value assign: Set(value)/SetNull()/SetZero()

// ======================== comparison between columns ========================
func (e expr) EqCol(col Expr) Expr {
return e.setE(clause.Expr{SQL: "? = ?", Vars: []interface{}{e.RawExpr(), col.RawExpr()}})
Expand Down
2 changes: 0 additions & 2 deletions interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ type subQuery interface {
Condition
}

// TODO implement Associations api (ex: preload)

// Dao CRUD methods
type Dao interface {
subQuery
Expand Down

0 comments on commit e3d7003

Please sign in to comment.