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

Method TableUnique

models/relationship.go:33–37  ·  view source on GitHub ↗

联合唯一键

()

Source from the content-addressed store, hash-verified

31
32// 联合唯一键
33func (u *Relationship) TableUnique() [][]string {
34 return [][]string{
35 []string{"MemberId", "BookId"},
36 }
37}
38
39func NewRelationship() *Relationship {
40 return &Relationship{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected