Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ForeignKeyAction_name = map[int32]string{
0: "NO_ACTION",
1: "RESTRICT",
2: "SET_NULL",
3: "SET_DEFAULT",
4: "CASCADE",
}
View Source
var ForeignKeyAction_value = map[string]int32{
"NO_ACTION": 0,
"RESTRICT": 1,
"SET_NULL": 2,
"SET_DEFAULT": 3,
"CASCADE": 4,
}
View Source
var Match_name = map[int32]string{
0: "SIMPLE",
1: "FULL",
2: "PARTIAL",
}
View Source
var Match_value = map[string]int32{
"SIMPLE": 0,
"FULL": 1,
"PARTIAL": 2,
}
Functions ¶
This section is empty.
Types ¶
type ForeignKeyAction ¶
type ForeignKeyAction int32
ForeignKeyAction describes the action which should be taken when a foreign key constraint reference is acted upon.
const ( ForeignKeyAction_NO_ACTION ForeignKeyAction = 0 ForeignKeyAction_RESTRICT ForeignKeyAction = 1 ForeignKeyAction_SET_NULL ForeignKeyAction = 2 ForeignKeyAction_SET_DEFAULT ForeignKeyAction = 3 ForeignKeyAction_CASCADE ForeignKeyAction = 4 )
func (ForeignKeyAction) EnumDescriptor ¶
func (ForeignKeyAction) EnumDescriptor() ([]byte, []int)
func (ForeignKeyAction) SafeValue ¶
func (x ForeignKeyAction) SafeValue()
SafeValue implements redact.SafeValue.
func (ForeignKeyAction) String ¶
func (x ForeignKeyAction) String() string
Click to show internal directories.
Click to hide internal directories.