MCPcopy Create free account
hub / github.com/TruthHun/BookStack / TableUnique

Method TableUnique

models/bookmarks.go:37–41  ·  view source on GitHub ↗

多字段唯一键

()

Source from the content-addressed store, hash-verified

35
36// 多字段唯一键
37func (m *Bookmark) TableUnique() [][]string {
38 return [][]string{
39 []string{"Uid", "DocId"},
40 }
41}
42
43func NewBookmark() *Bookmark {
44 return &Bookmark{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected