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

Method TableUnique

models/star.go:23–27  ·  view source on GitHub ↗

多字段唯一键

()

Source from the content-addressed store, hash-verified

21
22// 多字段唯一键
23func (this *Star) TableUnique() [][]string {
24 return [][]string{
25 []string{"Uid", "Bid"},
26 }
27}
28
29type StarResult struct {
30 BookId int `json:"book_id"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected