Skip to content

Commit

Permalink
Add DB.BuildUpdateAllStatement()
Browse files Browse the repository at this point in the history
  • Loading branch information
jrauh01 committed Nov 28, 2024
1 parent 1b82665 commit 4eae28a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions database/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,10 @@ func (db *DB) BuildUpdateStatement(stmt UpdateStatement) (string, error) {
return db.queryBuilder.UpdateStatement(stmt)
}

func (db *DB) BuildUpdateAllStatement(stmt UpdateStatement) (string, error) {
return db.queryBuilder.UpdateAllStatement(stmt)
}

func (db *DB) BuildDeleteStatement(stmt DeleteStatement) (string, error) {
return db.queryBuilder.DeleteStatement(stmt)
}
Expand Down

0 comments on commit 4eae28a

Please sign in to comment.