seaql

package
v0.10.7 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Field.ProtoReflect.Descriptor instead.

func (*Field) GetType

func (x *Field) GetType() string

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) ProtoReflect

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

func (*Field) Reset

func (x *Field) Reset()

func (*Field) String

func (x *Field) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Options.ProtoReflect.Descriptor instead.

func (*Options) GetCharset

func (x *Options) GetCharset() string

func (*Options) GetCollate added in v0.2.2

func (x *Options) GetCollate() string

func (*Options) GetEngine

func (x *Options) GetEngine() string

func (*Options) GetForeignKey added in v0.10.1

func (x *Options) GetForeignKey() []string

func (*Options) GetIndex

func (x *Options) GetIndex() []string

func (*Options) GetTableName

func (x *Options) GetTableName() string

func (*Options) ProtoMessage

func (*Options) ProtoMessage()

func (*Options) ProtoReflect

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

func (*Options) Reset

func (x *Options) Reset()

func (*Options) String

func (x *Options) String() string

Jump to

Keyboard shortcuts

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