MCPcopy
hub / github.com/go-gorm/gorm / Index

Struct Index

migrator/index.go:6–13  ·  view source on GitHub ↗

Index implements gorm.Index interface

Source from the content-addressed store, hash-verified

4
5// Index implements gorm.Index interface
6type Index struct {
7 TableName string
8 NameValue string
9 ColumnList []string
10 PrimaryKeyValue sql.NullBool
11 UniqueValue sql.NullBool
12 OptionValue string
13}
14
15// Table return the table name of the index.
16func (idx Index) Table() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected