Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ TableUnique
Method
TableUnique
models/comments.go:38–42 ·
view source on GitHub ↗
多字段唯一键
()
Source
from the content-addressed store, hash-verified
36
37
// 多字段唯一键
38
func
(this *Score) TableUnique() [][]string {
39
return
[][]string{
40
{
"Uid"
,
"BookId"
},
41
}
42
}
43
44
type
CommentOpt
struct
{
45
Status []int
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected