MCPcopy Create free account
hub / github.com/gogs/gogs / updateIssueCols

Function updateIssueCols

internal/database/issue.go:419–423  ·  view source on GitHub ↗
(e Engine, issue *Issue, cols ...string)

Source from the content-addressed store, hash-verified

417}
418
419func updateIssueCols(e Engine, issue *Issue, cols ...string) error {
420 cols = append(cols, "updated_unix")
421 _, err := e.ID(issue.ID).Cols(cols...).Update(issue)
422 return err
423}
424
425// UpdateIssueCols only updates values of specific columns for given issue.
426func UpdateIssueCols(issue *Issue, cols ...string) error {

Callers 2

UpdateIssueColsFunction · 0.85
changeStatusMethod · 0.85

Calls 3

appendFunction · 0.85
UpdateMethod · 0.65
IDMethod · 0.65

Tested by

no test coverage detected