psql

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TableType_name = map[int32]string{
		0: "DATA",
		1: "RELATION",
	}
	TableType_value = map[string]int32{
		"DATA":     0,
		"RELATION": 1,
	}
)

Enum value maps for TableType.

View Source
var (
	// repeated string initialization = 1091;
	E_Initialization = &file_psql_proto_extTypes[0]
	// repeated string finalization = 1092;
	E_Finalization = &file_psql_proto_extTypes[1]
)

Extension fields to descriptor.FileOptions.

View Source
var (
	// optional bool disabled = 1091;
	E_Disabled = &file_psql_proto_extTypes[2]
	// repeated string prefix = 1092;
	E_Prefix = &file_psql_proto_extTypes[3]
	// repeated string suffix = 1093;
	E_Suffix = &file_psql_proto_extTypes[4]
	// repeated string constraint = 1094;
	E_Constraint = &file_psql_proto_extTypes[5]
	// optional psql.TableType tableType = 1095;
	E_TableType = &file_psql_proto_extTypes[6]
	// repeated psql.RelayCascadeUpdate relay_cascade_update = 1096;
	E_RelayCascadeUpdate = &file_psql_proto_extTypes[7]
)

Extension fields to descriptor.MessageOptions.

View Source
var (
	// optional string column = 1091;
	E_Column = &file_psql_proto_extTypes[8]
	// optional string auto_fill_on_update = 1092;
	E_AutoFillOnUpdate = &file_psql_proto_extTypes[9]
	// repeated psql.CascadeUpdateOnRelatedTable cascade_update_on_related_table = 1093;
	E_CascadeUpdateOnRelatedTable = &file_psql_proto_extTypes[10]
)

Extension fields to descriptor.FieldOptions.

Functions

This section is empty.

Types

type CascadeUpdateOnRelatedTable added in v0.0.8

type CascadeUpdateOnRelatedTable struct {
	Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CascadeUpdateOnRelatedTable) Descriptor deprecated added in v0.0.8

func (*CascadeUpdateOnRelatedTable) Descriptor() ([]byte, []int)

Deprecated: Use CascadeUpdateOnRelatedTable.ProtoReflect.Descriptor instead.

func (*CascadeUpdateOnRelatedTable) GetField added in v0.0.8

func (x *CascadeUpdateOnRelatedTable) GetField() string

func (*CascadeUpdateOnRelatedTable) GetValue added in v0.0.8

func (x *CascadeUpdateOnRelatedTable) GetValue() string

func (*CascadeUpdateOnRelatedTable) ProtoMessage added in v0.0.8

func (*CascadeUpdateOnRelatedTable) ProtoMessage()

func (*CascadeUpdateOnRelatedTable) ProtoReflect added in v0.0.8

func (*CascadeUpdateOnRelatedTable) Reset added in v0.0.8

func (x *CascadeUpdateOnRelatedTable) Reset()

func (*CascadeUpdateOnRelatedTable) String added in v0.0.8

func (x *CascadeUpdateOnRelatedTable) String() string

type RelayCascadeUpdate added in v0.0.8

type RelayCascadeUpdate struct {
	SourceForeignKey string                            `protobuf:"bytes,1,opt,name=source_foreign_key,json=sourceForeignKey,proto3" json:"source_foreign_key,omitempty"`
	Destinations     []*RelayCascadeUpdate_Destination `protobuf:"bytes,2,rep,name=destinations,proto3" json:"destinations,omitempty"`
	// contains filtered or unexported fields
}

func (*RelayCascadeUpdate) Descriptor deprecated added in v0.0.8

func (*RelayCascadeUpdate) Descriptor() ([]byte, []int)

Deprecated: Use RelayCascadeUpdate.ProtoReflect.Descriptor instead.

func (*RelayCascadeUpdate) GetDestinations added in v0.0.8

func (x *RelayCascadeUpdate) GetDestinations() []*RelayCascadeUpdate_Destination

func (*RelayCascadeUpdate) GetSourceForeignKey added in v0.0.8

func (x *RelayCascadeUpdate) GetSourceForeignKey() string

func (*RelayCascadeUpdate) ProtoMessage added in v0.0.8

func (*RelayCascadeUpdate) ProtoMessage()

func (*RelayCascadeUpdate) ProtoReflect added in v0.0.8

func (x *RelayCascadeUpdate) ProtoReflect() protoreflect.Message

func (*RelayCascadeUpdate) Reset added in v0.0.8

func (x *RelayCascadeUpdate) Reset()

func (*RelayCascadeUpdate) String added in v0.0.8

func (x *RelayCascadeUpdate) String() string

type RelayCascadeUpdate_Destination added in v0.0.8

type RelayCascadeUpdate_Destination struct {
	ForeignKey string `protobuf:"bytes,1,opt,name=foreign_key,json=foreignKey,proto3" json:"foreign_key,omitempty"`
	Field      string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"`
	Value      string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*RelayCascadeUpdate_Destination) Descriptor deprecated added in v0.0.8

func (*RelayCascadeUpdate_Destination) Descriptor() ([]byte, []int)

Deprecated: Use RelayCascadeUpdate_Destination.ProtoReflect.Descriptor instead.

func (*RelayCascadeUpdate_Destination) GetField added in v0.0.8

func (x *RelayCascadeUpdate_Destination) GetField() string

func (*RelayCascadeUpdate_Destination) GetForeignKey added in v0.0.8

func (x *RelayCascadeUpdate_Destination) GetForeignKey() string

func (*RelayCascadeUpdate_Destination) GetValue added in v0.0.8

func (x *RelayCascadeUpdate_Destination) GetValue() string

func (*RelayCascadeUpdate_Destination) ProtoMessage added in v0.0.8

func (*RelayCascadeUpdate_Destination) ProtoMessage()

func (*RelayCascadeUpdate_Destination) ProtoReflect added in v0.0.8

func (*RelayCascadeUpdate_Destination) Reset added in v0.0.8

func (x *RelayCascadeUpdate_Destination) Reset()

func (*RelayCascadeUpdate_Destination) String added in v0.0.8

type TableType added in v0.0.4

type TableType int32

Table type enum

const (
	TableType_DATA     TableType = 0
	TableType_RELATION TableType = 1
)

func (TableType) Descriptor added in v0.0.4

func (TableType) Descriptor() protoreflect.EnumDescriptor

func (TableType) Enum added in v0.0.4

func (x TableType) Enum() *TableType

func (TableType) EnumDescriptor deprecated added in v0.0.4

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

Deprecated: Use TableType.Descriptor instead.

func (TableType) Number added in v0.0.4

func (x TableType) Number() protoreflect.EnumNumber

func (TableType) String added in v0.0.4

func (x TableType) String() string

func (TableType) Type added in v0.0.4

Jump to

Keyboard shortcuts

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