Documentation ¶
Index ¶
Constants ¶
View Source
const ( EntityName = "utextValue" TableName = "utext_value" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { BatchSaveChangesTx(ctx context.Context, entityID uint, values []UTextValue, langID uint, tx *gorm.DB) error BatchDeleteTx(ctx context.Context, cond *selection_condition.SelectionCondition, tx *gorm.DB) error }
Repository encapsulates the logic to access albums from the data source.
type UTextValue ¶
type UTextValue struct { ID uint `gorm:"type:bigserial;primaryKey" json:"id"` EntityID uint `gorm:"type:bigint not null REFERENCES \"entity\"(id);index:idx_utext_value,priority:1" json:"entityID"` PropertyID uint `gorm:"type:bigint not null;index:idx_utext_value,priority:2" json:"propertyID"` Value string `gorm:"type:text not null;index" json:"value"` }
UTextValue ...
func (*UTextValue) TableName ¶
func (e *UTextValue) TableName() string
Click to show internal directories.
Click to hide internal directories.