Documentation ¶
Index ¶
- Variables
- type ExtraField
- func (*ExtraField) Descriptor() ([]byte, []int)
- func (m *ExtraField) GetName() string
- func (m *ExtraField) GetTags() string
- func (m *ExtraField) GetType() string
- func (*ExtraField) ProtoMessage()
- func (m *ExtraField) Reset()
- func (m *ExtraField) String() string
- func (m *ExtraField) XXX_DiscardUnknown()
- func (m *ExtraField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtraField) XXX_Merge(src proto.Message)
- func (m *ExtraField) XXX_Size() int
- func (m *ExtraField) XXX_Unmarshal(b []byte) error
- type SqlFilter
- func (*SqlFilter) Descriptor() ([]byte, []int)
- func (m *SqlFilter) GetMode() SqlFilter_Mode
- func (m *SqlFilter) GetName() string
- func (m *SqlFilter) GetValue() string
- func (*SqlFilter) ProtoMessage()
- func (m *SqlFilter) Reset()
- func (m *SqlFilter) String() string
- func (m *SqlFilter) XXX_DiscardUnknown()
- func (m *SqlFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SqlFilter) XXX_Merge(src proto.Message)
- func (m *SqlFilter) XXX_Size() int
- func (m *SqlFilter) XXX_Unmarshal(b []byte) error
- type SqlFilter_Mode
- type SqlPageInfo
- func (*SqlPageInfo) Descriptor() ([]byte, []int)
- func (m *SqlPageInfo) GetCurrent() int64
- func (m *SqlPageInfo) GetLimit() int64
- func (m *SqlPageInfo) GetOffset() int64
- func (m *SqlPageInfo) GetSize_() int64
- func (*SqlPageInfo) ProtoMessage()
- func (m *SqlPageInfo) Reset()
- func (m *SqlPageInfo) String() string
- func (m *SqlPageInfo) XXX_DiscardUnknown()
- func (m *SqlPageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SqlPageInfo) XXX_Merge(src proto.Message)
- func (m *SqlPageInfo) XXX_Size() int
- func (m *SqlPageInfo) XXX_Unmarshal(b []byte) error
- type SqlQuery
- func (*SqlQuery) Descriptor() ([]byte, []int)
- func (m *SqlQuery) GetField() []string
- func (m *SqlQuery) GetFilter() []*SqlFilter
- func (m *SqlQuery) GetFirst() int64
- func (m *SqlQuery) GetId() string
- func (m *SqlQuery) GetIds() []string
- func (m *SqlQuery) GetLast() int64
- func (m *SqlQuery) GetLimit() int64
- func (m *SqlQuery) GetPage() int64
- func (m *SqlQuery) GetParams() isSqlQuery_Params
- func (*SqlQuery) ProtoMessage()
- func (m *SqlQuery) Reset()
- func (m *SqlQuery) String() string
- func (m *SqlQuery) XXX_DiscardUnknown()
- func (m *SqlQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SqlQuery) XXX_Merge(src proto.Message)
- func (*SqlQuery) XXX_OneofWrappers() []interface{}
- func (m *SqlQuery) XXX_Size() int
- func (m *SqlQuery) XXX_Unmarshal(b []byte) error
- type SqlQuery_First
- type SqlQuery_Last
- type SqlQuery_Page
- type SqlSortCriteria
- func (*SqlSortCriteria) Descriptor() ([]byte, []int)
- func (m *SqlSortCriteria) GetOrder() SqlSortCriteria_Order
- func (m *SqlSortCriteria) GetTag() string
- func (*SqlSortCriteria) ProtoMessage()
- func (m *SqlSortCriteria) Reset()
- func (m *SqlSortCriteria) String() string
- func (m *SqlSortCriteria) XXX_DiscardUnknown()
- func (m *SqlSortCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SqlSortCriteria) XXX_Merge(src proto.Message)
- func (m *SqlSortCriteria) XXX_Size() int
- func (m *SqlSortCriteria) XXX_Unmarshal(b []byte) error
- type SqlSortCriteria_Order
- type SqlSorting
- func (*SqlSorting) Descriptor() ([]byte, []int)
- func (m *SqlSorting) GetSort() []*SqlSortCriteria
- func (*SqlSorting) ProtoMessage()
- func (m *SqlSorting) Reset()
- func (m *SqlSorting) String() string
- func (m *SqlSorting) XXX_DiscardUnknown()
- func (m *SqlSorting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SqlSorting) XXX_Merge(src proto.Message)
- func (m *SqlSorting) XXX_Size() int
- func (m *SqlSorting) XXX_Unmarshal(b []byte) error
- type SqlxFieldOptions
- func (*SqlxFieldOptions) Descriptor() ([]byte, []int)
- func (m *SqlxFieldOptions) GetColname() string
- func (m *SqlxFieldOptions) GetCustomname() string
- func (m *SqlxFieldOptions) GetDrop() bool
- func (m *SqlxFieldOptions) GetFk() string
- func (m *SqlxFieldOptions) GetName() string
- func (m *SqlxFieldOptions) GetPk() bool
- func (m *SqlxFieldOptions) GetTags() string
- func (m *SqlxFieldOptions) GetType() string
- func (*SqlxFieldOptions) ProtoMessage()
- func (m *SqlxFieldOptions) Reset()
- func (m *SqlxFieldOptions) String() string
- func (m *SqlxFieldOptions) XXX_DiscardUnknown()
- func (m *SqlxFieldOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SqlxFieldOptions) XXX_Merge(src proto.Message)
- func (m *SqlxFieldOptions) XXX_Size() int
- func (m *SqlxFieldOptions) XXX_Unmarshal(b []byte) error
- type SqlxMessageOptions
- func (*SqlxMessageOptions) Descriptor() ([]byte, []int)
- func (m *SqlxMessageOptions) GetDriver() string
- func (m *SqlxMessageOptions) GetGorm() bool
- func (m *SqlxMessageOptions) GetInclude() []*ExtraField
- func (m *SqlxMessageOptions) GetJsonb() bool
- func (m *SqlxMessageOptions) GetOrm() bool
- func (m *SqlxMessageOptions) GetProduct() bool
- func (m *SqlxMessageOptions) GetRequest() string
- func (m *SqlxMessageOptions) GetTable() string
- func (m *SqlxMessageOptions) GetUser() bool
- func (*SqlxMessageOptions) ProtoMessage()
- func (m *SqlxMessageOptions) Reset()
- func (m *SqlxMessageOptions) String() string
- func (m *SqlxMessageOptions) XXX_DiscardUnknown()
- func (m *SqlxMessageOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SqlxMessageOptions) XXX_Merge(src proto.Message)
- func (m *SqlxMessageOptions) XXX_Size() int
- func (m *SqlxMessageOptions) XXX_Unmarshal(b []byte) error
- type SqlxMethodOptions
- func (*SqlxMethodOptions) Descriptor() ([]byte, []int)
- func (m *SqlxMethodOptions) GetJsonb() bool
- func (*SqlxMethodOptions) ProtoMessage()
- func (m *SqlxMethodOptions) Reset()
- func (m *SqlxMethodOptions) String() string
- func (m *SqlxMethodOptions) XXX_DiscardUnknown()
- func (m *SqlxMethodOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SqlxMethodOptions) XXX_Merge(src proto.Message)
- func (m *SqlxMethodOptions) XXX_Size() int
- func (m *SqlxMethodOptions) XXX_Unmarshal(b []byte) error
- type SqlxServiceOptions
- func (*SqlxServiceOptions) Descriptor() ([]byte, []int)
- func (m *SqlxServiceOptions) GetAutogen() bool
- func (*SqlxServiceOptions) ProtoMessage()
- func (m *SqlxServiceOptions) Reset()
- func (m *SqlxServiceOptions) String() string
- func (m *SqlxServiceOptions) XXX_DiscardUnknown()
- func (m *SqlxServiceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SqlxServiceOptions) XXX_Merge(src proto.Message)
- func (m *SqlxServiceOptions) XXX_Size() int
- func (m *SqlxServiceOptions) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Field = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*SqlxFieldOptions)(nil), Field: 99902, Name: "sql.field", Tag: "bytes,99902,opt,name=field", Filename: "pb/sql/sql.proto", }
View Source
var E_Method = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MethodOptions)(nil), ExtensionType: (*SqlxMethodOptions)(nil), Field: 99904, Name: "sql.method", Tag: "bytes,99904,opt,name=method", Filename: "pb/sql/sql.proto", }
View Source
var E_Opts = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*SqlxMessageOptions)(nil), Field: 99901, Name: "sql.opts", Tag: "bytes,99901,opt,name=opts", Filename: "pb/sql/sql.proto", }
View Source
var E_Server = &proto.ExtensionDesc{ ExtendedType: (*descriptor.ServiceOptions)(nil), ExtensionType: (*SqlxServiceOptions)(nil), Field: 99903, Name: "sql.server", Tag: "bytes,99903,opt,name=server", Filename: "pb/sql/sql.proto", }
View Source
var SqlFilter_Mode_name = map[int32]string{
0: "EQ",
1: "NE",
2: "GT",
3: "GE",
4: "LT",
5: "LE",
6: "IS_NULL",
7: "NOT_NULL",
}
View Source
var SqlFilter_Mode_value = map[string]int32{
"EQ": 0,
"NE": 1,
"GT": 2,
"GE": 3,
"LT": 4,
"LE": 5,
"IS_NULL": 6,
"NOT_NULL": 7,
}
View Source
var SqlSortCriteria_Order_name = map[int32]string{
0: "ASC",
1: "DESC",
}
View Source
var SqlSortCriteria_Order_value = map[string]int32{
"ASC": 0,
"DESC": 1,
}
Functions ¶
This section is empty.
Types ¶
type ExtraField ¶
type ExtraField struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Tags string `protobuf:"bytes,3,opt,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtraField) Descriptor ¶
func (*ExtraField) Descriptor() ([]byte, []int)
func (*ExtraField) GetName ¶
func (m *ExtraField) GetName() string
func (*ExtraField) GetTags ¶
func (m *ExtraField) GetTags() string
func (*ExtraField) GetType ¶
func (m *ExtraField) GetType() string
func (*ExtraField) ProtoMessage ¶
func (*ExtraField) ProtoMessage()
func (*ExtraField) Reset ¶
func (m *ExtraField) Reset()
func (*ExtraField) String ¶
func (m *ExtraField) String() string
func (*ExtraField) XXX_DiscardUnknown ¶
func (m *ExtraField) XXX_DiscardUnknown()
func (*ExtraField) XXX_Marshal ¶
func (m *ExtraField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtraField) XXX_Merge ¶
func (m *ExtraField) XXX_Merge(src proto.Message)
func (*ExtraField) XXX_Size ¶
func (m *ExtraField) XXX_Size() int
func (*ExtraField) XXX_Unmarshal ¶
func (m *ExtraField) XXX_Unmarshal(b []byte) error
type SqlFilter ¶ added in v0.3.7
type SqlFilter struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Mode SqlFilter_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=sql.SqlFilter_Mode" json:"mode,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SqlFilter) Descriptor ¶ added in v0.3.7
func (*SqlFilter) GetMode ¶ added in v0.3.7
func (m *SqlFilter) GetMode() SqlFilter_Mode
func (*SqlFilter) ProtoMessage ¶ added in v0.3.7
func (*SqlFilter) ProtoMessage()
func (*SqlFilter) XXX_DiscardUnknown ¶ added in v0.3.7
func (m *SqlFilter) XXX_DiscardUnknown()
func (*SqlFilter) XXX_Marshal ¶ added in v0.3.7
func (*SqlFilter) XXX_Unmarshal ¶ added in v0.3.7
type SqlFilter_Mode ¶ added in v0.3.7
type SqlFilter_Mode int32
const ( // EQ in sql = SqlFilter_EQ SqlFilter_Mode = 0 // NE in sql != SqlFilter_NE SqlFilter_Mode = 1 // GT in sql > SqlFilter_GT SqlFilter_Mode = 2 // GE in sql >= SqlFilter_GE SqlFilter_Mode = 3 // LT in sql < SqlFilter_LT SqlFilter_Mode = 4 // LE in sql <= SqlFilter_LE SqlFilter_Mode = 5 // IS_NULL in sql IS NULL SqlFilter_IS_NULL SqlFilter_Mode = 6 // NOT_NULL in sql IS NOT NULL SqlFilter_NOT_NULL SqlFilter_Mode = 7 )
func (SqlFilter_Mode) EnumDescriptor ¶ added in v0.3.7
func (SqlFilter_Mode) EnumDescriptor() ([]byte, []int)
func (SqlFilter_Mode) String ¶ added in v0.3.7
func (x SqlFilter_Mode) String() string
type SqlPageInfo ¶ added in v0.3.7
type SqlPageInfo struct { Current int64 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"` // The service may optionally include the total number of resources being paged. Size_ int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // The service may optionally include the offset of the next page of resources. // A null value indicates no more pages. Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` Limit int64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SqlPageInfo) Descriptor ¶ added in v0.3.7
func (*SqlPageInfo) Descriptor() ([]byte, []int)
func (*SqlPageInfo) GetCurrent ¶ added in v0.3.7
func (m *SqlPageInfo) GetCurrent() int64
func (*SqlPageInfo) GetLimit ¶ added in v0.3.7
func (m *SqlPageInfo) GetLimit() int64
func (*SqlPageInfo) GetOffset ¶ added in v0.3.7
func (m *SqlPageInfo) GetOffset() int64
func (*SqlPageInfo) GetSize_ ¶ added in v0.3.7
func (m *SqlPageInfo) GetSize_() int64
func (*SqlPageInfo) ProtoMessage ¶ added in v0.3.7
func (*SqlPageInfo) ProtoMessage()
func (*SqlPageInfo) Reset ¶ added in v0.3.7
func (m *SqlPageInfo) Reset()
func (*SqlPageInfo) String ¶ added in v0.3.7
func (m *SqlPageInfo) String() string
func (*SqlPageInfo) XXX_DiscardUnknown ¶ added in v0.3.7
func (m *SqlPageInfo) XXX_DiscardUnknown()
func (*SqlPageInfo) XXX_Marshal ¶ added in v0.3.7
func (m *SqlPageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SqlPageInfo) XXX_Merge ¶ added in v0.3.7
func (m *SqlPageInfo) XXX_Merge(src proto.Message)
func (*SqlPageInfo) XXX_Size ¶ added in v0.3.7
func (m *SqlPageInfo) XXX_Size() int
func (*SqlPageInfo) XXX_Unmarshal ¶ added in v0.3.7
func (m *SqlPageInfo) XXX_Unmarshal(b []byte) error
type SqlQuery ¶ added in v0.3.7
type SqlQuery struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Ids []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` // Types that are valid to be assigned to Params: // *SqlQuery_Page // *SqlQuery_First // *SqlQuery_Last Params isSqlQuery_Params `protobuf_oneof:"params"` Limit int64 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"` Filter []*SqlFilter `protobuf:"bytes,7,rep,name=filter,proto3" json:"filter,omitempty"` Field []string `protobuf:"bytes,8,rep,name=field,proto3" json:"field,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SqlQuery) Descriptor ¶ added in v0.3.7
func (*SqlQuery) ProtoMessage ¶ added in v0.3.7
func (*SqlQuery) ProtoMessage()
func (*SqlQuery) XXX_DiscardUnknown ¶ added in v0.3.7
func (m *SqlQuery) XXX_DiscardUnknown()
func (*SqlQuery) XXX_Marshal ¶ added in v0.3.7
func (*SqlQuery) XXX_OneofWrappers ¶ added in v0.3.7
func (*SqlQuery) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SqlQuery) XXX_Unmarshal ¶ added in v0.3.7
type SqlQuery_First ¶ added in v0.3.7
type SqlQuery_First struct {
First int64 `protobuf:"varint,4,opt,name=first,proto3,oneof" json:"first,omitempty"`
}
type SqlQuery_Last ¶ added in v0.3.7
type SqlQuery_Last struct {
Last int64 `protobuf:"varint,5,opt,name=last,proto3,oneof" json:"last,omitempty"`
}
type SqlQuery_Page ¶ added in v0.3.7
type SqlQuery_Page struct {
Page int64 `protobuf:"varint,3,opt,name=page,proto3,oneof" json:"page,omitempty"`
}
type SqlSortCriteria ¶ added in v0.3.7
type SqlSortCriteria struct { // Tag is a JSON tag. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` Order SqlSortCriteria_Order `protobuf:"varint,2,opt,name=order,proto3,enum=sql.SqlSortCriteria_Order" json:"order,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SortCriteria represents sort criteria
func (*SqlSortCriteria) Descriptor ¶ added in v0.3.7
func (*SqlSortCriteria) Descriptor() ([]byte, []int)
func (*SqlSortCriteria) GetOrder ¶ added in v0.3.7
func (m *SqlSortCriteria) GetOrder() SqlSortCriteria_Order
func (*SqlSortCriteria) GetTag ¶ added in v0.3.7
func (m *SqlSortCriteria) GetTag() string
func (*SqlSortCriteria) ProtoMessage ¶ added in v0.3.7
func (*SqlSortCriteria) ProtoMessage()
func (*SqlSortCriteria) Reset ¶ added in v0.3.7
func (m *SqlSortCriteria) Reset()
func (*SqlSortCriteria) String ¶ added in v0.3.7
func (m *SqlSortCriteria) String() string
func (*SqlSortCriteria) XXX_DiscardUnknown ¶ added in v0.3.7
func (m *SqlSortCriteria) XXX_DiscardUnknown()
func (*SqlSortCriteria) XXX_Marshal ¶ added in v0.3.7
func (m *SqlSortCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SqlSortCriteria) XXX_Merge ¶ added in v0.3.7
func (m *SqlSortCriteria) XXX_Merge(src proto.Message)
func (*SqlSortCriteria) XXX_Size ¶ added in v0.3.7
func (m *SqlSortCriteria) XXX_Size() int
func (*SqlSortCriteria) XXX_Unmarshal ¶ added in v0.3.7
func (m *SqlSortCriteria) XXX_Unmarshal(b []byte) error
type SqlSortCriteria_Order ¶ added in v0.3.7
type SqlSortCriteria_Order int32
Order is a sort order.
const ( // ascending sort order SqlSortCriteria_ASC SqlSortCriteria_Order = 0 // descending sort order SqlSortCriteria_DESC SqlSortCriteria_Order = 1 )
func (SqlSortCriteria_Order) EnumDescriptor ¶ added in v0.3.7
func (SqlSortCriteria_Order) EnumDescriptor() ([]byte, []int)
func (SqlSortCriteria_Order) String ¶ added in v0.3.7
func (x SqlSortCriteria_Order) String() string
type SqlSorting ¶ added in v0.3.7
type SqlSorting struct { Sort []*SqlSortCriteria `protobuf:"bytes,1,rep,name=sort,proto3" json:"sort,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Sorting represents list of sort criterias.
func (*SqlSorting) Descriptor ¶ added in v0.3.7
func (*SqlSorting) Descriptor() ([]byte, []int)
func (*SqlSorting) GetSort ¶ added in v0.3.7
func (m *SqlSorting) GetSort() []*SqlSortCriteria
func (*SqlSorting) ProtoMessage ¶ added in v0.3.7
func (*SqlSorting) ProtoMessage()
func (*SqlSorting) Reset ¶ added in v0.3.7
func (m *SqlSorting) Reset()
func (*SqlSorting) String ¶ added in v0.3.7
func (m *SqlSorting) String() string
func (*SqlSorting) XXX_DiscardUnknown ¶ added in v0.3.7
func (m *SqlSorting) XXX_DiscardUnknown()
func (*SqlSorting) XXX_Marshal ¶ added in v0.3.7
func (m *SqlSorting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SqlSorting) XXX_Merge ¶ added in v0.3.7
func (m *SqlSorting) XXX_Merge(src proto.Message)
func (*SqlSorting) XXX_Size ¶ added in v0.3.7
func (m *SqlSorting) XXX_Size() int
func (*SqlSorting) XXX_Unmarshal ¶ added in v0.3.7
func (m *SqlSorting) XXX_Unmarshal(b []byte) error
type SqlxFieldOptions ¶
type SqlxFieldOptions struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Colname string `protobuf:"bytes,2,opt,name=colname,proto3" json:"colname,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Tags string `protobuf:"bytes,4,opt,name=tags,proto3" json:"tags,omitempty"` Drop bool `protobuf:"varint,5,opt,name=drop,proto3" json:"drop,omitempty"` Pk bool `protobuf:"varint,6,opt,name=pk,proto3" json:"pk,omitempty"` Fk string `protobuf:"bytes,7,opt,name=fk,proto3" json:"fk,omitempty"` Customname string `protobuf:"bytes,8,opt,name=customname,proto3" json:"customname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SqlxFieldOptions) Descriptor ¶
func (*SqlxFieldOptions) Descriptor() ([]byte, []int)
func (*SqlxFieldOptions) GetColname ¶
func (m *SqlxFieldOptions) GetColname() string
func (*SqlxFieldOptions) GetCustomname ¶
func (m *SqlxFieldOptions) GetCustomname() string
func (*SqlxFieldOptions) GetDrop ¶
func (m *SqlxFieldOptions) GetDrop() bool
func (*SqlxFieldOptions) GetFk ¶
func (m *SqlxFieldOptions) GetFk() string
func (*SqlxFieldOptions) GetName ¶
func (m *SqlxFieldOptions) GetName() string
func (*SqlxFieldOptions) GetPk ¶
func (m *SqlxFieldOptions) GetPk() bool
func (*SqlxFieldOptions) GetTags ¶
func (m *SqlxFieldOptions) GetTags() string
func (*SqlxFieldOptions) GetType ¶
func (m *SqlxFieldOptions) GetType() string
func (*SqlxFieldOptions) ProtoMessage ¶
func (*SqlxFieldOptions) ProtoMessage()
func (*SqlxFieldOptions) Reset ¶
func (m *SqlxFieldOptions) Reset()
func (*SqlxFieldOptions) String ¶
func (m *SqlxFieldOptions) String() string
func (*SqlxFieldOptions) XXX_DiscardUnknown ¶
func (m *SqlxFieldOptions) XXX_DiscardUnknown()
func (*SqlxFieldOptions) XXX_Marshal ¶
func (m *SqlxFieldOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SqlxFieldOptions) XXX_Merge ¶
func (m *SqlxFieldOptions) XXX_Merge(src proto.Message)
func (*SqlxFieldOptions) XXX_Size ¶
func (m *SqlxFieldOptions) XXX_Size() int
func (*SqlxFieldOptions) XXX_Unmarshal ¶
func (m *SqlxFieldOptions) XXX_Unmarshal(b []byte) error
type SqlxMessageOptions ¶
type SqlxMessageOptions struct { Orm bool `protobuf:"varint,1,opt,name=orm,proto3" json:"orm,omitempty"` Jsonb bool `protobuf:"varint,2,opt,name=jsonb,proto3" json:"jsonb,omitempty"` Gorm bool `protobuf:"varint,3,opt,name=gorm,proto3" json:"gorm,omitempty"` Table string `protobuf:"bytes,4,opt,name=table,proto3" json:"table,omitempty"` Driver string `protobuf:"bytes,5,opt,name=driver,proto3" json:"driver,omitempty"` Include []*ExtraField `protobuf:"bytes,6,rep,name=include,proto3" json:"include,omitempty"` Request string `protobuf:"bytes,7,opt,name=request,proto3" json:"request,omitempty"` User bool `protobuf:"varint,8,opt,name=user,proto3" json:"user,omitempty"` Product bool `protobuf:"varint,9,opt,name=product,proto3" json:"product,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SqlxMessageOptions) Descriptor ¶
func (*SqlxMessageOptions) Descriptor() ([]byte, []int)
func (*SqlxMessageOptions) GetDriver ¶
func (m *SqlxMessageOptions) GetDriver() string
func (*SqlxMessageOptions) GetGorm ¶
func (m *SqlxMessageOptions) GetGorm() bool
func (*SqlxMessageOptions) GetInclude ¶
func (m *SqlxMessageOptions) GetInclude() []*ExtraField
func (*SqlxMessageOptions) GetJsonb ¶
func (m *SqlxMessageOptions) GetJsonb() bool
func (*SqlxMessageOptions) GetOrm ¶
func (m *SqlxMessageOptions) GetOrm() bool
func (*SqlxMessageOptions) GetProduct ¶
func (m *SqlxMessageOptions) GetProduct() bool
func (*SqlxMessageOptions) GetRequest ¶
func (m *SqlxMessageOptions) GetRequest() string
func (*SqlxMessageOptions) GetTable ¶
func (m *SqlxMessageOptions) GetTable() string
func (*SqlxMessageOptions) GetUser ¶
func (m *SqlxMessageOptions) GetUser() bool
func (*SqlxMessageOptions) ProtoMessage ¶
func (*SqlxMessageOptions) ProtoMessage()
func (*SqlxMessageOptions) Reset ¶
func (m *SqlxMessageOptions) Reset()
func (*SqlxMessageOptions) String ¶
func (m *SqlxMessageOptions) String() string
func (*SqlxMessageOptions) XXX_DiscardUnknown ¶
func (m *SqlxMessageOptions) XXX_DiscardUnknown()
func (*SqlxMessageOptions) XXX_Marshal ¶
func (m *SqlxMessageOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SqlxMessageOptions) XXX_Merge ¶
func (m *SqlxMessageOptions) XXX_Merge(src proto.Message)
func (*SqlxMessageOptions) XXX_Size ¶
func (m *SqlxMessageOptions) XXX_Size() int
func (*SqlxMessageOptions) XXX_Unmarshal ¶
func (m *SqlxMessageOptions) XXX_Unmarshal(b []byte) error
type SqlxMethodOptions ¶
type SqlxMethodOptions struct { Jsonb bool `protobuf:"varint,1,opt,name=jsonb,proto3" json:"jsonb,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SqlxMethodOptions) Descriptor ¶
func (*SqlxMethodOptions) Descriptor() ([]byte, []int)
func (*SqlxMethodOptions) GetJsonb ¶
func (m *SqlxMethodOptions) GetJsonb() bool
func (*SqlxMethodOptions) ProtoMessage ¶
func (*SqlxMethodOptions) ProtoMessage()
func (*SqlxMethodOptions) Reset ¶
func (m *SqlxMethodOptions) Reset()
func (*SqlxMethodOptions) String ¶
func (m *SqlxMethodOptions) String() string
func (*SqlxMethodOptions) XXX_DiscardUnknown ¶
func (m *SqlxMethodOptions) XXX_DiscardUnknown()
func (*SqlxMethodOptions) XXX_Marshal ¶
func (m *SqlxMethodOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SqlxMethodOptions) XXX_Merge ¶
func (m *SqlxMethodOptions) XXX_Merge(src proto.Message)
func (*SqlxMethodOptions) XXX_Size ¶
func (m *SqlxMethodOptions) XXX_Size() int
func (*SqlxMethodOptions) XXX_Unmarshal ¶
func (m *SqlxMethodOptions) XXX_Unmarshal(b []byte) error
type SqlxServiceOptions ¶
type SqlxServiceOptions struct { Autogen bool `protobuf:"varint,1,opt,name=autogen,proto3" json:"autogen,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SqlxServiceOptions) Descriptor ¶
func (*SqlxServiceOptions) Descriptor() ([]byte, []int)
func (*SqlxServiceOptions) GetAutogen ¶
func (m *SqlxServiceOptions) GetAutogen() bool
func (*SqlxServiceOptions) ProtoMessage ¶
func (*SqlxServiceOptions) ProtoMessage()
func (*SqlxServiceOptions) Reset ¶
func (m *SqlxServiceOptions) Reset()
func (*SqlxServiceOptions) String ¶
func (m *SqlxServiceOptions) String() string
func (*SqlxServiceOptions) XXX_DiscardUnknown ¶
func (m *SqlxServiceOptions) XXX_DiscardUnknown()
func (*SqlxServiceOptions) XXX_Marshal ¶
func (m *SqlxServiceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SqlxServiceOptions) XXX_Merge ¶
func (m *SqlxServiceOptions) XXX_Merge(src proto.Message)
func (*SqlxServiceOptions) XXX_Size ¶
func (m *SqlxServiceOptions) XXX_Size() int
func (*SqlxServiceOptions) XXX_Unmarshal ¶
func (m *SqlxServiceOptions) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.