多字段唯一键
()
| 35 | |
| 36 | // 多字段唯一键 |
| 37 | func (m *Bookmark) TableUnique() [][]string { |
| 38 | return [][]string{ |
| 39 | []string{"Uid", "DocId"}, |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | func NewBookmark() *Bookmark { |
| 44 | return &Bookmark{} |
nothing calls this directly
no outgoing calls
no test coverage detected