semenumpb

package
v0.25.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

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,
}
View Source
var TriggerActionTime_name = map[int32]string{
	0: "ACTION_UNKNOWN",
	1: "BEFORE",
	2: "AFTER",
	3: "INSTEAD_OF",
}
View Source
var TriggerActionTime_value = map[string]int32{
	"ACTION_UNKNOWN": 0,
	"BEFORE":         1,
	"AFTER":          2,
	"INSTEAD_OF":     3,
}
View Source
var TriggerEventType_name = map[int32]string{
	0: "EVENT_UNKNOWN",
	1: "INSERT",
	2: "UPDATE",
	3: "DELETE",
	4: "TRUNCATE",
}
View Source
var TriggerEventType_value = map[string]int32{
	"EVENT_UNKNOWN": 0,
	"INSERT":        1,
	"UPDATE":        2,
	"DELETE":        3,
	"TRUNCATE":      4,
}

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

type Match

type Match int32

Match is the algorithm used to compare composite keys.

const (
	Match_SIMPLE  Match = 0
	Match_FULL    Match = 1
	Match_PARTIAL Match = 2
)

func (Match) EnumDescriptor

func (Match) EnumDescriptor() ([]byte, []int)

func (Match) String

func (x Match) String() string

type TriggerActionTime added in v0.25.2

type TriggerActionTime int32

TriggerActionTime describes the timing of a trigger: before, after, or instead of the event.

const (
	TriggerActionTime_ACTION_UNKNOWN TriggerActionTime = 0
	TriggerActionTime_BEFORE         TriggerActionTime = 1
	TriggerActionTime_AFTER          TriggerActionTime = 2
	TriggerActionTime_INSTEAD_OF     TriggerActionTime = 3
)

func (TriggerActionTime) EnumDescriptor added in v0.25.2

func (TriggerActionTime) EnumDescriptor() ([]byte, []int)

func (TriggerActionTime) SafeValue added in v0.25.2

func (TriggerActionTime) SafeValue()

SafeValue implements redact.SafeValue

func (TriggerActionTime) String added in v0.25.2

func (x TriggerActionTime) String() string

type TriggerEventType added in v0.25.2

type TriggerEventType int32

TriggerEventType describes the event that will cause a trigger to fire: insert, update, delete, truncate, or upsert.

const (
	TriggerEventType_EVENT_UNKNOWN TriggerEventType = 0
	TriggerEventType_INSERT        TriggerEventType = 1
	TriggerEventType_UPDATE        TriggerEventType = 2
	TriggerEventType_DELETE        TriggerEventType = 3
	TriggerEventType_TRUNCATE      TriggerEventType = 4
)

func (TriggerEventType) EnumDescriptor added in v0.25.2

func (TriggerEventType) EnumDescriptor() ([]byte, []int)

func (TriggerEventType) SafeValue added in v0.25.2

func (TriggerEventType) SafeValue()

SafeValue implements redact.SafeValue

func (TriggerEventType) String added in v0.25.2

func (x TriggerEventType) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL