Documentation ¶
Index ¶
- Variables
- type BUNFieldOptions
- func (*BUNFieldOptions) Descriptor() ([]byte, []int)deprecated
- func (x *BUNFieldOptions) GetAutoIncrement() bool
- func (x *BUNFieldOptions) GetColumn() string
- func (x *BUNFieldOptions) GetDbtype() string
- func (x *BUNFieldOptions) GetDefault() string
- func (x *BUNFieldOptions) GetEmbedPrefix() string
- func (x *BUNFieldOptions) GetNotNull() bool
- func (x *BUNFieldOptions) GetPrimaryKey() bool
- func (x *BUNFieldOptions) GetUnique() bool
- func (*BUNFieldOptions) ProtoMessage()
- func (x *BUNFieldOptions) ProtoReflect() protoreflect.Message
- func (x *BUNFieldOptions) Reset()
- func (x *BUNFieldOptions) String() string
- type BUNMessageOptions
- func (*BUNMessageOptions) Descriptor() ([]byte, []int)deprecated
- func (x *BUNMessageOptions) GetOrmable() bool
- func (x *BUNMessageOptions) GetTable() string
- func (*BUNMessageOptions) ProtoMessage()
- func (x *BUNMessageOptions) ProtoReflect() protoreflect.Message
- func (x *BUNMessageOptions) Reset()
- func (x *BUNMessageOptions) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional bun.BUNFieldOptions field = 52120;
E_Field = &file_options_options_proto_extTypes[1]
)
Extension fields to descriptorpb.FieldOptions.
View Source
var (
// optional bun.BUNMessageOptions opts = 52120;
E_Opts = &file_options_options_proto_extTypes[0]
)
Extension fields to descriptorpb.MessageOptions.
View Source
var File_options_options_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BUNFieldOptions ¶ added in v1.2.0
type BUNFieldOptions struct { Column string `protobuf:"bytes,1,opt,name=column,proto3" json:"column,omitempty"` Dbtype string `protobuf:"bytes,2,opt,name=dbtype,proto3" json:"dbtype,omitempty"` PrimaryKey bool `protobuf:"varint,3,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"` Unique bool `protobuf:"varint,4,opt,name=unique,proto3" json:"unique,omitempty"` Default string `protobuf:"bytes,5,opt,name=default,proto3" json:"default,omitempty"` NotNull bool `protobuf:"varint,6,opt,name=not_null,json=notNull,proto3" json:"not_null,omitempty"` AutoIncrement bool `protobuf:"varint,7,opt,name=auto_increment,json=autoIncrement,proto3" json:"auto_increment,omitempty"` EmbedPrefix string `protobuf:"bytes,8,opt,name=embed_prefix,json=embedPrefix,proto3" json:"embed_prefix,omitempty"` // contains filtered or unexported fields }
func (*BUNFieldOptions) Descriptor
deprecated
added in
v1.2.0
func (*BUNFieldOptions) Descriptor() ([]byte, []int)
Deprecated: Use BUNFieldOptions.ProtoReflect.Descriptor instead.
func (*BUNFieldOptions) GetAutoIncrement ¶ added in v1.2.0
func (x *BUNFieldOptions) GetAutoIncrement() bool
func (*BUNFieldOptions) GetColumn ¶ added in v1.2.0
func (x *BUNFieldOptions) GetColumn() string
func (*BUNFieldOptions) GetDbtype ¶ added in v1.2.0
func (x *BUNFieldOptions) GetDbtype() string
func (*BUNFieldOptions) GetDefault ¶ added in v1.2.0
func (x *BUNFieldOptions) GetDefault() string
func (*BUNFieldOptions) GetEmbedPrefix ¶ added in v1.2.0
func (x *BUNFieldOptions) GetEmbedPrefix() string
func (*BUNFieldOptions) GetNotNull ¶ added in v1.2.0
func (x *BUNFieldOptions) GetNotNull() bool
func (*BUNFieldOptions) GetPrimaryKey ¶ added in v1.2.0
func (x *BUNFieldOptions) GetPrimaryKey() bool
func (*BUNFieldOptions) GetUnique ¶ added in v1.2.0
func (x *BUNFieldOptions) GetUnique() bool
func (*BUNFieldOptions) ProtoMessage ¶ added in v1.2.0
func (*BUNFieldOptions) ProtoMessage()
func (*BUNFieldOptions) ProtoReflect ¶ added in v1.2.0
func (x *BUNFieldOptions) ProtoReflect() protoreflect.Message
func (*BUNFieldOptions) Reset ¶ added in v1.2.0
func (x *BUNFieldOptions) Reset()
func (*BUNFieldOptions) String ¶ added in v1.2.0
func (x *BUNFieldOptions) String() string
type BUNMessageOptions ¶ added in v1.2.0
type BUNMessageOptions struct { Ormable bool `protobuf:"varint,1,opt,name=ormable,proto3" json:"ormable,omitempty"` Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` // contains filtered or unexported fields }
func (*BUNMessageOptions) Descriptor
deprecated
added in
v1.2.0
func (*BUNMessageOptions) Descriptor() ([]byte, []int)
Deprecated: Use BUNMessageOptions.ProtoReflect.Descriptor instead.
func (*BUNMessageOptions) GetOrmable ¶ added in v1.2.0
func (x *BUNMessageOptions) GetOrmable() bool
func (*BUNMessageOptions) GetTable ¶ added in v1.2.0
func (x *BUNMessageOptions) GetTable() string
func (*BUNMessageOptions) ProtoMessage ¶ added in v1.2.0
func (*BUNMessageOptions) ProtoMessage()
func (*BUNMessageOptions) ProtoReflect ¶ added in v1.2.0
func (x *BUNMessageOptions) ProtoReflect() protoreflect.Message
func (*BUNMessageOptions) Reset ¶ added in v1.2.0
func (x *BUNMessageOptions) Reset()
func (*BUNMessageOptions) String ¶ added in v1.2.0
func (x *BUNMessageOptions) String() string
Click to show internal directories.
Click to hide internal directories.