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

Method SetLastReadTime

models/star.go:116–118  ·  view source on GitHub ↗
(uid, bid int)

Source from the content-addressed store, hash-verified

114}
115
116func (this *Star) SetLastReadTime(uid, bid int) {
117 orm.NewOrm().QueryTable(this).Filter("uid", uid).Filter("bid", bid).Update(orm.Params{"last_read": time.Now().Unix()})
118}

Callers 1

AddMethod · 0.80

Calls 1

UpdateMethod · 0.45

Tested by

no test coverage detected