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

Interface ConstraintInterface

schema/interfaces.go:8–11  ·  schema/interfaces.go::ConstraintInterface

ConstraintInterface database constraint interface

Source from the content-addressed store, hash-verified

6
7// ConstraintInterface database constraint interface
8type ConstraintInterface interface {
9 GetName() string
10 Build() (sql string, vars []interface{})
11}
12
13// GormDataTypeInterface gorm data type interface
14type GormDataTypeInterface interface {

Callers 2

DropConstraintMethod · 0.65
HasConstraintMethod · 0.65

Implementers 3

Constraintschema/relationship.go
CheckConstraintschema/constraint.go
UniqueConstraintschema/constraint.go

Calls

no outgoing calls

Tested by

no test coverage detected