Documentation ¶
Index ¶
- Variables
- type AutoServerOptions
- func (*AutoServerOptions) Descriptor() ([]byte, []int)deprecated
- func (x *AutoServerOptions) GetAutogen() bool
- func (x *AutoServerOptions) GetTxnMiddleware() bool
- func (x *AutoServerOptions) GetWithTracing() bool
- func (*AutoServerOptions) ProtoMessage()
- func (x *AutoServerOptions) ProtoReflect() protoreflect.Message
- func (x *AutoServerOptions) Reset()
- func (x *AutoServerOptions) String() string
- type BelongsToOptions
- func (*BelongsToOptions) Descriptor() ([]byte, []int)deprecated
- func (x *BelongsToOptions) GetAssociationAutocreate() bool
- func (x *BelongsToOptions) GetAssociationAutoupdate() bool
- func (x *BelongsToOptions) GetAssociationForeignkey() string
- func (x *BelongsToOptions) GetAssociationSaveReference() bool
- func (x *BelongsToOptions) GetForeignkey() string
- func (x *BelongsToOptions) GetForeignkeyTag() *GormTag
- func (x *BelongsToOptions) GetPreload() bool
- func (*BelongsToOptions) ProtoMessage()
- func (x *BelongsToOptions) ProtoReflect() protoreflect.Message
- func (x *BelongsToOptions) Reset()
- func (x *BelongsToOptions) String() string
- type ExtraField
- func (*ExtraField) Descriptor() ([]byte, []int)deprecated
- func (x *ExtraField) GetName() string
- func (x *ExtraField) GetPackage() string
- func (x *ExtraField) GetTag() *GormTag
- func (x *ExtraField) GetType() string
- func (*ExtraField) ProtoMessage()
- func (x *ExtraField) ProtoReflect() protoreflect.Message
- func (x *ExtraField) Reset()
- func (x *ExtraField) String() string
- type GormFieldOptions
- func (*GormFieldOptions) Descriptor() ([]byte, []int)deprecated
- func (m *GormFieldOptions) GetAssociation() isGormFieldOptions_Association
- func (x *GormFieldOptions) GetBelongsTo() *BelongsToOptions
- func (x *GormFieldOptions) GetDrop() bool
- func (x *GormFieldOptions) GetHasMany() *HasManyOptions
- func (x *GormFieldOptions) GetHasOne() *HasOneOptions
- func (x *GormFieldOptions) GetManyToMany() *ManyToManyOptions
- func (x *GormFieldOptions) GetReferenceOf() string
- func (x *GormFieldOptions) GetTag() *GormTag
- func (*GormFieldOptions) ProtoMessage()
- func (x *GormFieldOptions) ProtoReflect() protoreflect.Message
- func (x *GormFieldOptions) Reset()
- func (x *GormFieldOptions) String() string
- type GormFieldOptions_BelongsTo
- type GormFieldOptions_HasMany
- type GormFieldOptions_HasOne
- type GormFieldOptions_ManyToMany
- type GormFileOptions
- type GormMessageOptions
- func (*GormMessageOptions) Descriptor() ([]byte, []int)deprecated
- func (x *GormMessageOptions) GetInclude() []*ExtraField
- func (x *GormMessageOptions) GetMultiAccount() bool
- func (x *GormMessageOptions) GetOrmable() bool
- func (x *GormMessageOptions) GetTable() string
- func (*GormMessageOptions) ProtoMessage()
- func (x *GormMessageOptions) ProtoReflect() protoreflect.Message
- func (x *GormMessageOptions) Reset()
- func (x *GormMessageOptions) String() string
- type GormTag
- func (*GormTag) Descriptor() ([]byte, []int)deprecated
- func (x *GormTag) GetAssociationAutocreate() bool
- func (x *GormTag) GetAssociationAutoupdate() bool
- func (x *GormTag) GetAssociationForeignkey() string
- func (x *GormTag) GetAssociationJointableForeignkey() string
- func (x *GormTag) GetAssociationSaveReference() bool
- func (x *GormTag) GetAutoIncrement() bool
- func (x *GormTag) GetColumn() string
- func (x *GormTag) GetDefault() string
- func (x *GormTag) GetEmbedded() bool
- func (x *GormTag) GetEmbeddedPrefix() string
- func (x *GormTag) GetForeignkey() string
- func (x *GormTag) GetIgnore() bool
- func (x *GormTag) GetIndex() string
- func (x *GormTag) GetJointableForeignkey() string
- func (x *GormTag) GetManyToMany() string
- func (x *GormTag) GetNotNull() bool
- func (x *GormTag) GetPrecision() int32
- func (x *GormTag) GetPreload() bool
- func (x *GormTag) GetPrimaryKey() bool
- func (x *GormTag) GetSize() int32
- func (x *GormTag) GetType() string
- func (x *GormTag) GetUnique() bool
- func (x *GormTag) GetUniqueIndex() string
- func (*GormTag) ProtoMessage()
- func (x *GormTag) ProtoReflect() protoreflect.Message
- func (x *GormTag) Reset()
- func (x *GormTag) String() string
- type HasManyOptions
- func (*HasManyOptions) Descriptor() ([]byte, []int)deprecated
- func (x *HasManyOptions) GetAppend() bool
- func (x *HasManyOptions) GetAssociationAutocreate() bool
- func (x *HasManyOptions) GetAssociationAutoupdate() bool
- func (x *HasManyOptions) GetAssociationForeignkey() string
- func (x *HasManyOptions) GetAssociationSaveReference() bool
- func (x *HasManyOptions) GetClear() bool
- func (x *HasManyOptions) GetForeignkey() string
- func (x *HasManyOptions) GetForeignkeyTag() *GormTag
- func (x *HasManyOptions) GetPositionField() string
- func (x *HasManyOptions) GetPositionFieldTag() *GormTag
- func (x *HasManyOptions) GetPreload() bool
- func (x *HasManyOptions) GetReplace() bool
- func (*HasManyOptions) ProtoMessage()
- func (x *HasManyOptions) ProtoReflect() protoreflect.Message
- func (x *HasManyOptions) Reset()
- func (x *HasManyOptions) String() string
- type HasOneOptions
- func (*HasOneOptions) Descriptor() ([]byte, []int)deprecated
- func (x *HasOneOptions) GetAppend() bool
- func (x *HasOneOptions) GetAssociationAutocreate() bool
- func (x *HasOneOptions) GetAssociationAutoupdate() bool
- func (x *HasOneOptions) GetAssociationForeignkey() string
- func (x *HasOneOptions) GetAssociationSaveReference() bool
- func (x *HasOneOptions) GetClear() bool
- func (x *HasOneOptions) GetForeignkey() string
- func (x *HasOneOptions) GetForeignkeyTag() *GormTag
- func (x *HasOneOptions) GetPreload() bool
- func (x *HasOneOptions) GetReplace() bool
- func (*HasOneOptions) ProtoMessage()
- func (x *HasOneOptions) ProtoReflect() protoreflect.Message
- func (x *HasOneOptions) Reset()
- func (x *HasOneOptions) String() string
- type ManyToManyOptions
- func (*ManyToManyOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ManyToManyOptions) GetAppend() bool
- func (x *ManyToManyOptions) GetAssociationAutocreate() bool
- func (x *ManyToManyOptions) GetAssociationAutoupdate() bool
- func (x *ManyToManyOptions) GetAssociationForeignkey() string
- func (x *ManyToManyOptions) GetAssociationJointableForeignkey() string
- func (x *ManyToManyOptions) GetAssociationSaveReference() bool
- func (x *ManyToManyOptions) GetClear() bool
- func (x *ManyToManyOptions) GetForeignkey() string
- func (x *ManyToManyOptions) GetJointable() string
- func (x *ManyToManyOptions) GetJointableForeignkey() string
- func (x *ManyToManyOptions) GetPreload() bool
- func (x *ManyToManyOptions) GetReplace() bool
- func (*ManyToManyOptions) ProtoMessage()
- func (x *ManyToManyOptions) ProtoReflect() protoreflect.Message
- func (x *ManyToManyOptions) Reset()
- func (x *ManyToManyOptions) String() string
- type MethodOptions
Constants ¶
This section is empty.
Variables ¶
var (
// optional gorm.GormFieldOptions field = 52119;
E_Field = &file_options_gorm_proto_extTypes[2]
)
Extension fields to descriptor.FieldOptions.
var (
// optional gorm.GormFileOptions file_opts = 52119;
E_FileOpts = &file_options_gorm_proto_extTypes[0]
)
Extension fields to descriptor.FileOptions.
var (
// optional gorm.MethodOptions method = 52119;
E_Method = &file_options_gorm_proto_extTypes[4]
)
Extension fields to descriptor.MethodOptions.
var ( // ormable will cause orm code to be generated for this message/object // // optional gorm.GormMessageOptions opts = 52119; E_Opts = &file_options_gorm_proto_extTypes[1] )
Extension fields to descriptor.MessageOptions.
var (
// optional gorm.AutoServerOptions server = 52119;
E_Server = &file_options_gorm_proto_extTypes[3]
)
Extension fields to descriptor.ServiceOptions.
var File_options_gorm_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AutoServerOptions ¶ added in v0.2.0
type AutoServerOptions struct { Autogen *bool `protobuf:"varint,1,opt,name=autogen" json:"autogen,omitempty"` TxnMiddleware *bool `protobuf:"varint,2,opt,name=txn_middleware,json=txnMiddleware" json:"txn_middleware,omitempty"` WithTracing *bool `protobuf:"varint,3,opt,name=with_tracing,json=withTracing" json:"with_tracing,omitempty"` // contains filtered or unexported fields }
func (*AutoServerOptions) Descriptor
deprecated
added in
v0.2.0
func (*AutoServerOptions) Descriptor() ([]byte, []int)
Deprecated: Use AutoServerOptions.ProtoReflect.Descriptor instead.
func (*AutoServerOptions) GetAutogen ¶ added in v0.2.0
func (x *AutoServerOptions) GetAutogen() bool
func (*AutoServerOptions) GetTxnMiddleware ¶ added in v0.6.0
func (x *AutoServerOptions) GetTxnMiddleware() bool
func (*AutoServerOptions) GetWithTracing ¶ added in v1.0.0
func (x *AutoServerOptions) GetWithTracing() bool
func (*AutoServerOptions) ProtoMessage ¶ added in v0.2.0
func (*AutoServerOptions) ProtoMessage()
func (*AutoServerOptions) ProtoReflect ¶ added in v1.0.0
func (x *AutoServerOptions) ProtoReflect() protoreflect.Message
func (*AutoServerOptions) Reset ¶ added in v0.2.0
func (x *AutoServerOptions) Reset()
func (*AutoServerOptions) String ¶ added in v0.2.0
func (x *AutoServerOptions) String() string
type BelongsToOptions ¶ added in v0.5.0
type BelongsToOptions struct { Foreignkey *string `protobuf:"bytes,1,opt,name=foreignkey" json:"foreignkey,omitempty"` ForeignkeyTag *GormTag `protobuf:"bytes,2,opt,name=foreignkey_tag,json=foreignkeyTag" json:"foreignkey_tag,omitempty"` AssociationForeignkey *string `protobuf:"bytes,3,opt,name=association_foreignkey,json=associationForeignkey" json:"association_foreignkey,omitempty"` AssociationAutoupdate *bool `protobuf:"varint,4,opt,name=association_autoupdate,json=associationAutoupdate" json:"association_autoupdate,omitempty"` AssociationAutocreate *bool `protobuf:"varint,5,opt,name=association_autocreate,json=associationAutocreate" json:"association_autocreate,omitempty"` AssociationSaveReference *bool `` /* 129-byte string literal not displayed */ Preload *bool `protobuf:"varint,7,opt,name=preload" json:"preload,omitempty"` // contains filtered or unexported fields }
func (*BelongsToOptions) Descriptor
deprecated
added in
v0.5.0
func (*BelongsToOptions) Descriptor() ([]byte, []int)
Deprecated: Use BelongsToOptions.ProtoReflect.Descriptor instead.
func (*BelongsToOptions) GetAssociationAutocreate ¶ added in v0.12.0
func (x *BelongsToOptions) GetAssociationAutocreate() bool
func (*BelongsToOptions) GetAssociationAutoupdate ¶ added in v0.12.0
func (x *BelongsToOptions) GetAssociationAutoupdate() bool
func (*BelongsToOptions) GetAssociationForeignkey ¶ added in v0.5.0
func (x *BelongsToOptions) GetAssociationForeignkey() string
func (*BelongsToOptions) GetAssociationSaveReference ¶ added in v0.12.0
func (x *BelongsToOptions) GetAssociationSaveReference() bool
func (*BelongsToOptions) GetForeignkey ¶ added in v0.5.0
func (x *BelongsToOptions) GetForeignkey() string
func (*BelongsToOptions) GetForeignkeyTag ¶ added in v0.5.0
func (x *BelongsToOptions) GetForeignkeyTag() *GormTag
func (*BelongsToOptions) GetPreload ¶ added in v0.13.0
func (x *BelongsToOptions) GetPreload() bool
func (*BelongsToOptions) ProtoMessage ¶ added in v0.5.0
func (*BelongsToOptions) ProtoMessage()
func (*BelongsToOptions) ProtoReflect ¶ added in v1.0.0
func (x *BelongsToOptions) ProtoReflect() protoreflect.Message
func (*BelongsToOptions) Reset ¶ added in v0.5.0
func (x *BelongsToOptions) Reset()
func (*BelongsToOptions) String ¶ added in v0.5.0
func (x *BelongsToOptions) String() string
type ExtraField ¶
type ExtraField struct { Type *string `protobuf:"bytes,1,req,name=type" json:"type,omitempty"` Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` Tag *GormTag `protobuf:"bytes,3,opt,name=tag" json:"tag,omitempty"` Package *string `protobuf:"bytes,4,opt,name=package" json:"package,omitempty"` // contains filtered or unexported fields }
func (*ExtraField) Descriptor
deprecated
func (*ExtraField) Descriptor() ([]byte, []int)
Deprecated: Use ExtraField.ProtoReflect.Descriptor instead.
func (*ExtraField) GetName ¶
func (x *ExtraField) GetName() string
func (*ExtraField) GetPackage ¶ added in v0.6.0
func (x *ExtraField) GetPackage() string
func (*ExtraField) GetTag ¶ added in v0.5.0
func (x *ExtraField) GetTag() *GormTag
func (*ExtraField) GetType ¶
func (x *ExtraField) GetType() string
func (*ExtraField) ProtoMessage ¶
func (*ExtraField) ProtoMessage()
func (*ExtraField) ProtoReflect ¶ added in v1.0.0
func (x *ExtraField) ProtoReflect() protoreflect.Message
func (*ExtraField) Reset ¶
func (x *ExtraField) Reset()
func (*ExtraField) String ¶
func (x *ExtraField) String() string
type GormFieldOptions ¶
type GormFieldOptions struct { Tag *GormTag `protobuf:"bytes,1,opt,name=tag" json:"tag,omitempty"` Drop *bool `protobuf:"varint,2,opt,name=drop" json:"drop,omitempty"` // Types that are assignable to Association: // *GormFieldOptions_HasOne // *GormFieldOptions_BelongsTo // *GormFieldOptions_HasMany // *GormFieldOptions_ManyToMany Association isGormFieldOptions_Association `protobuf_oneof:"association"` ReferenceOf *string `protobuf:"bytes,7,opt,name=reference_of,json=referenceOf" json:"reference_of,omitempty"` // contains filtered or unexported fields }
func (*GormFieldOptions) Descriptor
deprecated
func (*GormFieldOptions) Descriptor() ([]byte, []int)
Deprecated: Use GormFieldOptions.ProtoReflect.Descriptor instead.
func (*GormFieldOptions) GetAssociation ¶ added in v0.5.0
func (m *GormFieldOptions) GetAssociation() isGormFieldOptions_Association
func (*GormFieldOptions) GetBelongsTo ¶ added in v0.5.0
func (x *GormFieldOptions) GetBelongsTo() *BelongsToOptions
func (*GormFieldOptions) GetDrop ¶
func (x *GormFieldOptions) GetDrop() bool
func (*GormFieldOptions) GetHasMany ¶ added in v0.5.0
func (x *GormFieldOptions) GetHasMany() *HasManyOptions
func (*GormFieldOptions) GetHasOne ¶ added in v0.5.0
func (x *GormFieldOptions) GetHasOne() *HasOneOptions
func (*GormFieldOptions) GetManyToMany ¶ added in v0.5.0
func (x *GormFieldOptions) GetManyToMany() *ManyToManyOptions
func (*GormFieldOptions) GetReferenceOf ¶ added in v0.8.0
func (x *GormFieldOptions) GetReferenceOf() string
func (*GormFieldOptions) GetTag ¶ added in v0.5.0
func (x *GormFieldOptions) GetTag() *GormTag
func (*GormFieldOptions) ProtoMessage ¶
func (*GormFieldOptions) ProtoMessage()
func (*GormFieldOptions) ProtoReflect ¶ added in v1.0.0
func (x *GormFieldOptions) ProtoReflect() protoreflect.Message
func (*GormFieldOptions) Reset ¶
func (x *GormFieldOptions) Reset()
func (*GormFieldOptions) String ¶
func (x *GormFieldOptions) String() string
type GormFieldOptions_BelongsTo ¶ added in v0.5.0
type GormFieldOptions_BelongsTo struct {
BelongsTo *BelongsToOptions `protobuf:"bytes,4,opt,name=belongs_to,json=belongsTo,oneof"`
}
type GormFieldOptions_HasMany ¶ added in v0.5.0
type GormFieldOptions_HasMany struct {
HasMany *HasManyOptions `protobuf:"bytes,5,opt,name=has_many,json=hasMany,oneof"`
}
type GormFieldOptions_HasOne ¶ added in v0.5.0
type GormFieldOptions_HasOne struct {
HasOne *HasOneOptions `protobuf:"bytes,3,opt,name=has_one,json=hasOne,oneof"`
}
type GormFieldOptions_ManyToMany ¶ added in v0.5.0
type GormFieldOptions_ManyToMany struct {
ManyToMany *ManyToManyOptions `protobuf:"bytes,6,opt,name=many_to_many,json=manyToMany,oneof"`
}
type GormFileOptions ¶
type GormFileOptions struct {
// contains filtered or unexported fields
}
func (*GormFileOptions) Descriptor
deprecated
func (*GormFileOptions) Descriptor() ([]byte, []int)
Deprecated: Use GormFileOptions.ProtoReflect.Descriptor instead.
func (*GormFileOptions) ProtoMessage ¶
func (*GormFileOptions) ProtoMessage()
func (*GormFileOptions) ProtoReflect ¶ added in v1.0.0
func (x *GormFileOptions) ProtoReflect() protoreflect.Message
func (*GormFileOptions) Reset ¶
func (x *GormFileOptions) Reset()
func (*GormFileOptions) String ¶
func (x *GormFileOptions) String() string
type GormMessageOptions ¶
type GormMessageOptions struct { Ormable *bool `protobuf:"varint,1,req,name=ormable" json:"ormable,omitempty"` Include []*ExtraField `protobuf:"bytes,2,rep,name=include" json:"include,omitempty"` Table *string `protobuf:"bytes,3,opt,name=table" json:"table,omitempty"` MultiAccount *bool `protobuf:"varint,4,opt,name=multi_account,json=multiAccount" json:"multi_account,omitempty"` // contains filtered or unexported fields }
func (*GormMessageOptions) Descriptor
deprecated
func (*GormMessageOptions) Descriptor() ([]byte, []int)
Deprecated: Use GormMessageOptions.ProtoReflect.Descriptor instead.
func (*GormMessageOptions) GetInclude ¶
func (x *GormMessageOptions) GetInclude() []*ExtraField
func (*GormMessageOptions) GetMultiAccount ¶ added in v0.2.0
func (x *GormMessageOptions) GetMultiAccount() bool
func (*GormMessageOptions) GetOrmable ¶
func (x *GormMessageOptions) GetOrmable() bool
func (*GormMessageOptions) GetTable ¶
func (x *GormMessageOptions) GetTable() string
func (*GormMessageOptions) ProtoMessage ¶
func (*GormMessageOptions) ProtoMessage()
func (*GormMessageOptions) ProtoReflect ¶ added in v1.0.0
func (x *GormMessageOptions) ProtoReflect() protoreflect.Message
func (*GormMessageOptions) Reset ¶
func (x *GormMessageOptions) Reset()
func (*GormMessageOptions) String ¶
func (x *GormMessageOptions) String() string
type GormTag ¶ added in v0.5.0
type GormTag struct { Column *string `protobuf:"bytes,1,opt,name=column" json:"column,omitempty"` Type *string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"` Size *int32 `protobuf:"varint,3,opt,name=size" json:"size,omitempty"` Precision *int32 `protobuf:"varint,4,opt,name=precision" json:"precision,omitempty"` PrimaryKey *bool `protobuf:"varint,5,opt,name=primary_key,json=primaryKey" json:"primary_key,omitempty"` Unique *bool `protobuf:"varint,6,opt,name=unique" json:"unique,omitempty"` Default *string `protobuf:"bytes,7,opt,name=default" json:"default,omitempty"` NotNull *bool `protobuf:"varint,8,opt,name=not_null,json=notNull" json:"not_null,omitempty"` AutoIncrement *bool `protobuf:"varint,9,opt,name=auto_increment,json=autoIncrement" json:"auto_increment,omitempty"` Index *string `protobuf:"bytes,10,opt,name=index" json:"index,omitempty"` UniqueIndex *string `protobuf:"bytes,11,opt,name=unique_index,json=uniqueIndex" json:"unique_index,omitempty"` Embedded *bool `protobuf:"varint,12,opt,name=embedded" json:"embedded,omitempty"` EmbeddedPrefix *string `protobuf:"bytes,13,opt,name=embedded_prefix,json=embeddedPrefix" json:"embedded_prefix,omitempty"` Ignore *bool `protobuf:"varint,14,opt,name=ignore" json:"ignore,omitempty"` Foreignkey *string `protobuf:"bytes,15,opt,name=foreignkey" json:"foreignkey,omitempty"` AssociationForeignkey *string `protobuf:"bytes,16,opt,name=association_foreignkey,json=associationForeignkey" json:"association_foreignkey,omitempty"` ManyToMany *string `protobuf:"bytes,17,opt,name=many_to_many,json=manyToMany" json:"many_to_many,omitempty"` JointableForeignkey *string `protobuf:"bytes,18,opt,name=jointable_foreignkey,json=jointableForeignkey" json:"jointable_foreignkey,omitempty"` AssociationJointableForeignkey *string `` /* 147-byte string literal not displayed */ AssociationAutoupdate *bool `protobuf:"varint,20,opt,name=association_autoupdate,json=associationAutoupdate" json:"association_autoupdate,omitempty"` AssociationAutocreate *bool `protobuf:"varint,21,opt,name=association_autocreate,json=associationAutocreate" json:"association_autocreate,omitempty"` AssociationSaveReference *bool `` /* 130-byte string literal not displayed */ Preload *bool `protobuf:"varint,23,opt,name=preload" json:"preload,omitempty"` // contains filtered or unexported fields }
func (*GormTag) Descriptor
deprecated
added in
v0.5.0
func (*GormTag) GetAssociationAutocreate ¶ added in v0.12.0
func (*GormTag) GetAssociationAutoupdate ¶ added in v0.12.0
func (*GormTag) GetAssociationForeignkey ¶ added in v0.11.0
func (*GormTag) GetAssociationJointableForeignkey ¶ added in v0.7.0
func (*GormTag) GetAssociationSaveReference ¶ added in v0.12.0
func (*GormTag) GetAutoIncrement ¶ added in v0.5.0
func (*GormTag) GetDefault ¶ added in v0.5.0
func (*GormTag) GetEmbedded ¶ added in v0.5.0
func (*GormTag) GetEmbeddedPrefix ¶ added in v0.5.0
func (*GormTag) GetForeignkey ¶ added in v0.11.0
func (*GormTag) GetJointableForeignkey ¶ added in v0.7.0
func (*GormTag) GetManyToMany ¶ added in v0.7.0
func (*GormTag) GetNotNull ¶ added in v0.5.0
func (*GormTag) GetPrecision ¶ added in v0.5.0
func (*GormTag) GetPreload ¶ added in v0.13.0
func (*GormTag) GetPrimaryKey ¶ added in v0.5.0
func (*GormTag) GetUniqueIndex ¶ added in v0.5.0
func (*GormTag) ProtoMessage ¶ added in v0.5.0
func (*GormTag) ProtoMessage()
func (*GormTag) ProtoReflect ¶ added in v1.0.0
func (x *GormTag) ProtoReflect() protoreflect.Message
type HasManyOptions ¶ added in v0.5.0
type HasManyOptions struct { Foreignkey *string `protobuf:"bytes,1,opt,name=foreignkey" json:"foreignkey,omitempty"` ForeignkeyTag *GormTag `protobuf:"bytes,2,opt,name=foreignkey_tag,json=foreignkeyTag" json:"foreignkey_tag,omitempty"` AssociationForeignkey *string `protobuf:"bytes,3,opt,name=association_foreignkey,json=associationForeignkey" json:"association_foreignkey,omitempty"` PositionField *string `protobuf:"bytes,4,opt,name=position_field,json=positionField" json:"position_field,omitempty"` PositionFieldTag *GormTag `protobuf:"bytes,5,opt,name=position_field_tag,json=positionFieldTag" json:"position_field_tag,omitempty"` AssociationAutoupdate *bool `protobuf:"varint,6,opt,name=association_autoupdate,json=associationAutoupdate" json:"association_autoupdate,omitempty"` AssociationAutocreate *bool `protobuf:"varint,7,opt,name=association_autocreate,json=associationAutocreate" json:"association_autocreate,omitempty"` AssociationSaveReference *bool `` /* 129-byte string literal not displayed */ Preload *bool `protobuf:"varint,9,opt,name=preload" json:"preload,omitempty"` Replace *bool `protobuf:"varint,10,opt,name=replace" json:"replace,omitempty"` Append *bool `protobuf:"varint,11,opt,name=append" json:"append,omitempty"` Clear *bool `protobuf:"varint,12,opt,name=clear" json:"clear,omitempty"` // contains filtered or unexported fields }
func (*HasManyOptions) Descriptor
deprecated
added in
v0.5.0
func (*HasManyOptions) Descriptor() ([]byte, []int)
Deprecated: Use HasManyOptions.ProtoReflect.Descriptor instead.
func (*HasManyOptions) GetAppend ¶ added in v1.0.0
func (x *HasManyOptions) GetAppend() bool
func (*HasManyOptions) GetAssociationAutocreate ¶ added in v0.12.0
func (x *HasManyOptions) GetAssociationAutocreate() bool
func (*HasManyOptions) GetAssociationAutoupdate ¶ added in v0.12.0
func (x *HasManyOptions) GetAssociationAutoupdate() bool
func (*HasManyOptions) GetAssociationForeignkey ¶ added in v0.5.0
func (x *HasManyOptions) GetAssociationForeignkey() string
func (*HasManyOptions) GetAssociationSaveReference ¶ added in v0.12.0
func (x *HasManyOptions) GetAssociationSaveReference() bool
func (*HasManyOptions) GetClear ¶ added in v1.0.0
func (x *HasManyOptions) GetClear() bool
func (*HasManyOptions) GetForeignkey ¶ added in v0.5.0
func (x *HasManyOptions) GetForeignkey() string
func (*HasManyOptions) GetForeignkeyTag ¶ added in v0.5.0
func (x *HasManyOptions) GetForeignkeyTag() *GormTag
func (*HasManyOptions) GetPositionField ¶ added in v0.5.0
func (x *HasManyOptions) GetPositionField() string
func (*HasManyOptions) GetPositionFieldTag ¶ added in v0.5.0
func (x *HasManyOptions) GetPositionFieldTag() *GormTag
func (*HasManyOptions) GetPreload ¶ added in v0.13.0
func (x *HasManyOptions) GetPreload() bool
func (*HasManyOptions) GetReplace ¶ added in v1.0.0
func (x *HasManyOptions) GetReplace() bool
func (*HasManyOptions) ProtoMessage ¶ added in v0.5.0
func (*HasManyOptions) ProtoMessage()
func (*HasManyOptions) ProtoReflect ¶ added in v1.0.0
func (x *HasManyOptions) ProtoReflect() protoreflect.Message
func (*HasManyOptions) Reset ¶ added in v0.5.0
func (x *HasManyOptions) Reset()
func (*HasManyOptions) String ¶ added in v0.5.0
func (x *HasManyOptions) String() string
type HasOneOptions ¶ added in v0.5.0
type HasOneOptions struct { Foreignkey *string `protobuf:"bytes,1,opt,name=foreignkey" json:"foreignkey,omitempty"` ForeignkeyTag *GormTag `protobuf:"bytes,2,opt,name=foreignkey_tag,json=foreignkeyTag" json:"foreignkey_tag,omitempty"` AssociationForeignkey *string `protobuf:"bytes,3,opt,name=association_foreignkey,json=associationForeignkey" json:"association_foreignkey,omitempty"` AssociationAutoupdate *bool `protobuf:"varint,4,opt,name=association_autoupdate,json=associationAutoupdate" json:"association_autoupdate,omitempty"` AssociationAutocreate *bool `protobuf:"varint,5,opt,name=association_autocreate,json=associationAutocreate" json:"association_autocreate,omitempty"` AssociationSaveReference *bool `` /* 129-byte string literal not displayed */ Preload *bool `protobuf:"varint,7,opt,name=preload" json:"preload,omitempty"` Replace *bool `protobuf:"varint,8,opt,name=replace" json:"replace,omitempty"` Append *bool `protobuf:"varint,9,opt,name=append" json:"append,omitempty"` Clear *bool `protobuf:"varint,10,opt,name=clear" json:"clear,omitempty"` // contains filtered or unexported fields }
func (*HasOneOptions) Descriptor
deprecated
added in
v0.5.0
func (*HasOneOptions) Descriptor() ([]byte, []int)
Deprecated: Use HasOneOptions.ProtoReflect.Descriptor instead.
func (*HasOneOptions) GetAppend ¶ added in v1.0.0
func (x *HasOneOptions) GetAppend() bool
func (*HasOneOptions) GetAssociationAutocreate ¶ added in v0.12.0
func (x *HasOneOptions) GetAssociationAutocreate() bool
func (*HasOneOptions) GetAssociationAutoupdate ¶ added in v0.12.0
func (x *HasOneOptions) GetAssociationAutoupdate() bool
func (*HasOneOptions) GetAssociationForeignkey ¶ added in v0.5.0
func (x *HasOneOptions) GetAssociationForeignkey() string
func (*HasOneOptions) GetAssociationSaveReference ¶ added in v0.12.0
func (x *HasOneOptions) GetAssociationSaveReference() bool
func (*HasOneOptions) GetClear ¶ added in v1.0.0
func (x *HasOneOptions) GetClear() bool
func (*HasOneOptions) GetForeignkey ¶ added in v0.5.0
func (x *HasOneOptions) GetForeignkey() string
func (*HasOneOptions) GetForeignkeyTag ¶ added in v0.5.0
func (x *HasOneOptions) GetForeignkeyTag() *GormTag
func (*HasOneOptions) GetPreload ¶ added in v0.13.0
func (x *HasOneOptions) GetPreload() bool
func (*HasOneOptions) GetReplace ¶ added in v1.0.0
func (x *HasOneOptions) GetReplace() bool
func (*HasOneOptions) ProtoMessage ¶ added in v0.5.0
func (*HasOneOptions) ProtoMessage()
func (*HasOneOptions) ProtoReflect ¶ added in v1.0.0
func (x *HasOneOptions) ProtoReflect() protoreflect.Message
func (*HasOneOptions) Reset ¶ added in v0.5.0
func (x *HasOneOptions) Reset()
func (*HasOneOptions) String ¶ added in v0.5.0
func (x *HasOneOptions) String() string
type ManyToManyOptions ¶ added in v0.5.0
type ManyToManyOptions struct { Jointable *string `protobuf:"bytes,1,opt,name=jointable" json:"jointable,omitempty"` Foreignkey *string `protobuf:"bytes,2,opt,name=foreignkey" json:"foreignkey,omitempty"` JointableForeignkey *string `protobuf:"bytes,3,opt,name=jointable_foreignkey,json=jointableForeignkey" json:"jointable_foreignkey,omitempty"` AssociationForeignkey *string `protobuf:"bytes,4,opt,name=association_foreignkey,json=associationForeignkey" json:"association_foreignkey,omitempty"` AssociationJointableForeignkey *string `` /* 146-byte string literal not displayed */ AssociationAutoupdate *bool `protobuf:"varint,6,opt,name=association_autoupdate,json=associationAutoupdate" json:"association_autoupdate,omitempty"` AssociationAutocreate *bool `protobuf:"varint,7,opt,name=association_autocreate,json=associationAutocreate" json:"association_autocreate,omitempty"` AssociationSaveReference *bool `` /* 129-byte string literal not displayed */ Preload *bool `protobuf:"varint,9,opt,name=preload" json:"preload,omitempty"` Replace *bool `protobuf:"varint,10,opt,name=replace" json:"replace,omitempty"` Append *bool `protobuf:"varint,11,opt,name=append" json:"append,omitempty"` Clear *bool `protobuf:"varint,13,opt,name=clear" json:"clear,omitempty"` // contains filtered or unexported fields }
func (*ManyToManyOptions) Descriptor
deprecated
added in
v0.5.0
func (*ManyToManyOptions) Descriptor() ([]byte, []int)
Deprecated: Use ManyToManyOptions.ProtoReflect.Descriptor instead.
func (*ManyToManyOptions) GetAppend ¶ added in v1.0.0
func (x *ManyToManyOptions) GetAppend() bool
func (*ManyToManyOptions) GetAssociationAutocreate ¶ added in v0.12.0
func (x *ManyToManyOptions) GetAssociationAutocreate() bool
func (*ManyToManyOptions) GetAssociationAutoupdate ¶ added in v0.12.0
func (x *ManyToManyOptions) GetAssociationAutoupdate() bool
func (*ManyToManyOptions) GetAssociationForeignkey ¶ added in v0.5.0
func (x *ManyToManyOptions) GetAssociationForeignkey() string
func (*ManyToManyOptions) GetAssociationJointableForeignkey ¶ added in v0.5.0
func (x *ManyToManyOptions) GetAssociationJointableForeignkey() string
func (*ManyToManyOptions) GetAssociationSaveReference ¶ added in v0.12.0
func (x *ManyToManyOptions) GetAssociationSaveReference() bool
func (*ManyToManyOptions) GetClear ¶ added in v1.0.0
func (x *ManyToManyOptions) GetClear() bool
func (*ManyToManyOptions) GetForeignkey ¶ added in v0.5.0
func (x *ManyToManyOptions) GetForeignkey() string
func (*ManyToManyOptions) GetJointable ¶ added in v0.5.0
func (x *ManyToManyOptions) GetJointable() string
func (*ManyToManyOptions) GetJointableForeignkey ¶ added in v0.5.0
func (x *ManyToManyOptions) GetJointableForeignkey() string
func (*ManyToManyOptions) GetPreload ¶ added in v0.13.0
func (x *ManyToManyOptions) GetPreload() bool
func (*ManyToManyOptions) GetReplace ¶ added in v1.0.0
func (x *ManyToManyOptions) GetReplace() bool
func (*ManyToManyOptions) ProtoMessage ¶ added in v0.5.0
func (*ManyToManyOptions) ProtoMessage()
func (*ManyToManyOptions) ProtoReflect ¶ added in v1.0.0
func (x *ManyToManyOptions) ProtoReflect() protoreflect.Message
func (*ManyToManyOptions) Reset ¶ added in v0.5.0
func (x *ManyToManyOptions) Reset()
func (*ManyToManyOptions) String ¶ added in v0.5.0
func (x *ManyToManyOptions) String() string
type MethodOptions ¶ added in v0.2.0
type MethodOptions struct { ObjectType *string `protobuf:"bytes,1,opt,name=object_type,json=objectType" json:"object_type,omitempty"` // contains filtered or unexported fields }
func (*MethodOptions) Descriptor
deprecated
added in
v0.2.0
func (*MethodOptions) Descriptor() ([]byte, []int)
Deprecated: Use MethodOptions.ProtoReflect.Descriptor instead.
func (*MethodOptions) GetObjectType ¶ added in v0.2.0
func (x *MethodOptions) GetObjectType() string
func (*MethodOptions) ProtoMessage ¶ added in v0.2.0
func (*MethodOptions) ProtoMessage()
func (*MethodOptions) ProtoReflect ¶ added in v1.0.0
func (x *MethodOptions) ProtoReflect() protoreflect.Message
func (*MethodOptions) Reset ¶ added in v0.2.0
func (x *MethodOptions) Reset()
func (*MethodOptions) String ¶ added in v0.2.0
func (x *MethodOptions) String() string