Documentation ¶
Index ¶
- Variables
- type DBField
- func (*DBField) Descriptor() ([]byte, []int)deprecated
- func (x *DBField) GetDb() string
- func (x *DBField) GetDelete() []string
- func (x *DBField) GetInsert() bool
- func (x *DBField) GetInsertDefault() *DBFieldDefault
- func (x *DBField) GetList() []string
- func (x *DBField) GetOne() []string
- func (x *DBField) GetReplace() []string
- func (x *DBField) GetUpdate() []string
- func (x *DBField) GetUpdateDefault() *DBFieldDefault
- func (*DBField) ProtoMessage()
- func (x *DBField) ProtoReflect() protoreflect.Message
- func (x *DBField) Reset()
- func (x *DBField) String() string
- type DBFieldDefault
- func (*DBFieldDefault) Descriptor() ([]byte, []int)deprecated
- func (x *DBFieldDefault) GetGoPkg() string
- func (x *DBFieldDefault) GetGoValue() string
- func (*DBFieldDefault) ProtoMessage()
- func (x *DBFieldDefault) ProtoReflect() protoreflect.Message
- func (x *DBFieldDefault) Reset()
- func (x *DBFieldDefault) String() string
- type DBTable
- func (*DBTable) Descriptor() ([]byte, []int)deprecated
- func (x *DBTable) GetDelete() []string
- func (x *DBTable) GetList() []string
- func (x *DBTable) GetName() string
- func (x *DBTable) GetOne() []string
- func (x *DBTable) GetReplace() []string
- func (x *DBTable) GetUpdate() []string
- func (*DBTable) ProtoMessage()
- func (x *DBTable) ProtoReflect() protoreflect.Message
- func (x *DBTable) Reset()
- func (x *DBTable) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional go.terra.sqlx.DBField db_field = 82295600;
E_DbField = &file_sqlx_sqlx_proto_extTypes[0]
)
Extension fields to descriptor.FieldOptions.
View Source
var (
// optional go.terra.sqlx.DBTable db_table = 82295601;
E_DbTable = &file_sqlx_sqlx_proto_extTypes[1]
)
Extension fields to descriptor.MessageOptions.
View Source
var File_sqlx_sqlx_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DBField ¶
type DBField struct { Db string `protobuf:"bytes,1,opt,name=db,proto3" json:"db,omitempty"` // 字段映射 Insert bool `protobuf:"varint,2,opt,name=insert,proto3" json:"insert,omitempty"` // 插入时填入 InsertDefault *DBFieldDefault `protobuf:"bytes,3,opt,name=insert_default,json=insertDefault,proto3" json:"insert_default,omitempty"` // 插入时默认值 Update []string `protobuf:"bytes,4,rep,name=update,proto3" json:"update,omitempty"` // 根据 Key 更新时填入 UpdateDefault *DBFieldDefault `protobuf:"bytes,5,opt,name=update_default,json=updateDefault,proto3" json:"update_default,omitempty"` // 根据 Key 更新时默认值 Delete []string `protobuf:"bytes,6,rep,name=delete,proto3" json:"delete,omitempty"` // 根据 Key 删除时填入 Replace []string `protobuf:"bytes,7,rep,name=replace,proto3" json:"replace,omitempty"` // 根据 Key 替换时填入 One []string `protobuf:"bytes,8,rep,name=one,proto3" json:"one,omitempty"` // 根据 Key 查询单个时填入 List []string `protobuf:"bytes,9,rep,name=list,proto3" json:"list,omitempty"` // 根据 Key 查询列表时填入 // contains filtered or unexported fields }
func (*DBField) Descriptor
deprecated
func (*DBField) GetInsertDefault ¶
func (x *DBField) GetInsertDefault() *DBFieldDefault
func (*DBField) GetReplace ¶
func (*DBField) GetUpdateDefault ¶
func (x *DBField) GetUpdateDefault() *DBFieldDefault
func (*DBField) ProtoMessage ¶
func (*DBField) ProtoMessage()
func (*DBField) ProtoReflect ¶
func (x *DBField) ProtoReflect() protoreflect.Message
type DBFieldDefault ¶
type DBFieldDefault struct { GoPkg string `protobuf:"bytes,1,opt,name=go_pkg,json=goPkg,proto3" json:"go_pkg,omitempty"` GoValue string `protobuf:"bytes,2,opt,name=go_value,json=goValue,proto3" json:"go_value,omitempty"` // contains filtered or unexported fields }
func (*DBFieldDefault) Descriptor
deprecated
func (*DBFieldDefault) Descriptor() ([]byte, []int)
Deprecated: Use DBFieldDefault.ProtoReflect.Descriptor instead.
func (*DBFieldDefault) GetGoPkg ¶ added in v0.0.3
func (x *DBFieldDefault) GetGoPkg() string
func (*DBFieldDefault) GetGoValue ¶ added in v0.0.3
func (x *DBFieldDefault) GetGoValue() string
func (*DBFieldDefault) ProtoMessage ¶
func (*DBFieldDefault) ProtoMessage()
func (*DBFieldDefault) ProtoReflect ¶
func (x *DBFieldDefault) ProtoReflect() protoreflect.Message
func (*DBFieldDefault) Reset ¶
func (x *DBFieldDefault) Reset()
func (*DBFieldDefault) String ¶
func (x *DBFieldDefault) String() string
type DBTable ¶
type DBTable struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 表名 Update []string `protobuf:"bytes,2,rep,name=update,proto3" json:"update,omitempty"` // 根据 Key 更新时填入 Delete []string `protobuf:"bytes,3,rep,name=delete,proto3" json:"delete,omitempty"` // 根据 Key 删除时填入 Replace []string `protobuf:"bytes,4,rep,name=replace,proto3" json:"replace,omitempty"` // 替换 One []string `protobuf:"bytes,5,rep,name=one,proto3" json:"one,omitempty"` // 根据 Key 查询单个时填入 List []string `protobuf:"bytes,6,rep,name=list,proto3" json:"list,omitempty"` // 根据 Key 查询列表时填入 // contains filtered or unexported fields }
func (*DBTable) Descriptor
deprecated
func (*DBTable) GetReplace ¶
func (*DBTable) ProtoMessage ¶
func (*DBTable) ProtoMessage()
func (*DBTable) ProtoReflect ¶
func (x *DBTable) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.