Documentation ¶
Index ¶
- Variables
- type Column
- type OPERATION
- func (OPERATION) Descriptor() protoreflect.EnumDescriptor
- func (x OPERATION) Enum() *OPERATION
- func (OPERATION) EnumDescriptor() ([]byte, []int)deprecated
- func (x OPERATION) Number() protoreflect.EnumNumber
- func (x OPERATION) String() string
- func (OPERATION) Type() protoreflect.EnumType
- func (x *OPERATION) UnmarshalJSON(b []byte) errordeprecated
- type PK
- type Table
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PK_name = map[int32]string{ 0: "PK_UNSPECIFIED", 1: "PK_AUTO", 2: "PK_MAN", } PK_value = map[string]int32{ "PK_UNSPECIFIED": 0, "PK_AUTO": 1, "PK_MAN": 2, } )
Enum value maps for PK.
View Source
var ( OPERATION_name = map[int32]string{ 0: "C", 1: "R", 2: "U", 3: "D", } OPERATION_value = map[string]int32{ "C": 0, "R": 1, "U": 2, "D": 3, } )
Enum value maps for OPERATION.
View Source
var ( // optional bool sqlgen = 800200; E_Sqlgen = &file_proto_sqlgen_sqlgen_proto_extTypes[0] // optional string StoreName = 800201; E_StoreName = &file_proto_sqlgen_sqlgen_proto_extTypes[1] )
Extension fields to descriptorpb.FileOptions.
View Source
var ( // optional sqlgen.Table table = 800100; E_Table = &file_proto_sqlgen_sqlgen_proto_extTypes[2] // optional bool jsonb = 800101; E_Jsonb = &file_proto_sqlgen_sqlgen_proto_extTypes[3] // optional CRUD crud = 800101; )
Extension fields to descriptorpb.MessageOptions.
View Source
var (
// optional sqlgen.Column col = 800110;
E_Col = &file_proto_sqlgen_sqlgen_proto_extTypes[4]
)
Extension fields to descriptorpb.FieldOptions.
View Source
var File_proto_sqlgen_sqlgen_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Column ¶
type Column struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Pk *PK `protobuf:"varint,2,opt,name=pk,enum=sqlgen.PK" json:"pk,omitempty"` Fk *string `protobuf:"bytes,3,opt,name=fk" json:"fk,omitempty"` // contains filtered or unexported fields }
func (*Column) Descriptor
deprecated
func (*Column) ProtoMessage ¶
func (*Column) ProtoMessage()
func (*Column) ProtoReflect ¶
func (x *Column) ProtoReflect() protoreflect.Message
type OPERATION ¶
type OPERATION int32
func (OPERATION) Descriptor ¶
func (OPERATION) Descriptor() protoreflect.EnumDescriptor
func (OPERATION) EnumDescriptor
deprecated
func (OPERATION) Number ¶
func (x OPERATION) Number() protoreflect.EnumNumber
func (OPERATION) Type ¶
func (OPERATION) Type() protoreflect.EnumType
func (*OPERATION) UnmarshalJSON
deprecated
type PK ¶
type PK int32
func (PK) Descriptor ¶
func (PK) Descriptor() protoreflect.EnumDescriptor
func (PK) EnumDescriptor
deprecated
func (PK) Number ¶
func (x PK) Number() protoreflect.EnumNumber
func (PK) Type ¶
func (PK) Type() protoreflect.EnumType
func (*PK) UnmarshalJSON
deprecated
type Table ¶
type Table struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Crud []OPERATION `protobuf:"varint,2,rep,name=crud,enum=sqlgen.OPERATION" json:"crud,omitempty"` // contains filtered or unexported fields }
func (*Table) Descriptor
deprecated
func (*Table) ProtoMessage ¶
func (*Table) ProtoMessage()
func (*Table) ProtoReflect ¶
func (x *Table) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.