Update updates all fields of pull request.
()
| 606 | |
| 607 | // Update updates all fields of pull request. |
| 608 | func (pr *PullRequest) Update() error { |
| 609 | _, err := x.Id(pr.ID).AllCols().Update(pr) |
| 610 | return err |
| 611 | } |
| 612 | |
| 613 | // Update updates specific fields of pull request. |
| 614 | func (pr *PullRequest) UpdateCols(cols ...string) error { |