Documentation ¶
Index ¶
- Variables
- type Field
- type Options
- func (*Options) Descriptor() ([]byte, []int)deprecated
- func (x *Options) GetCharset() string
- func (x *Options) GetCollate() string
- func (x *Options) GetEngine() string
- func (x *Options) GetForeignKey() []string
- func (x *Options) GetIndex() []string
- func (x *Options) GetTableName() string
- func (*Options) ProtoMessage()
- func (x *Options) ProtoReflect() protoreflect.Message
- func (x *Options) Reset()
- func (x *Options) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional things_go.seaql.Field field = 95272101;
E_Field = &file_protosaber_seaql_seaql_proto_extTypes[1]
)
Extension fields to descriptorpb.FieldOptions.
View Source
var (
// optional things_go.seaql.Options options = 95272001;
E_Options = &file_protosaber_seaql_seaql_proto_extTypes[0]
)
Extension fields to descriptorpb.MessageOptions.
View Source
var File_protosaber_seaql_seaql_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Field) Descriptor
deprecated
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
type Options ¶
type Options struct { // 表名 TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` // 引擎 Engine string `protobuf:"bytes,2,opt,name=engine,proto3" json:"engine,omitempty"` // 字符集 Charset string `protobuf:"bytes,3,opt,name=charset,proto3" json:"charset,omitempty"` // 排序规则 Collate string `protobuf:"bytes,4,opt,name=collate,proto3" json:"collate,omitempty"` // 索引 Index []string `protobuf:"bytes,10,rep,name=index,proto3" json:"index,omitempty"` ForeignKey []string `protobuf:"bytes,11,rep,name=foreign_key,json=foreignKey,proto3" json:"foreign_key,omitempty"` // contains filtered or unexported fields }
func (*Options) Descriptor
deprecated
func (*Options) GetCharset ¶
func (*Options) GetCollate ¶ added in v0.2.2
func (*Options) GetForeignKey ¶ added in v0.10.1
func (*Options) GetTableName ¶
func (*Options) ProtoMessage ¶
func (*Options) ProtoMessage()
func (*Options) ProtoReflect ¶
func (x *Options) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.