MCPcopy Index your code
hub / github.com/TruthHun/BookStack / NewComments

Function NewComments

models/comments.go:71–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69}
70
71func NewComments() *Comments {
72 return &Comments{}
73}
74
75func (this *Comments) SetCommentStatus(id, status int) (err error) {
76 _, err = orm.NewOrm().QueryTable(this).Filter("id", id).Update(orm.Params{"status": status})

Callers 6

ReadMethod · 0.92
CommentsMethod · 0.92
ClearCommentsMethod · 0.92
DeleteCommentMethod · 0.92
SetCommentStatusMethod · 0.92
QueryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected