Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DropRecord ¶
type DropRecord struct { gorm.Model EndEpoch uint64 DelegateName string `gorm:"type:varchar(100)"` Voter string `gorm:"type:varchar(41)"` Index uint64 Amount string `gorm:"type:varchar(50)"` Status string `gorm:"type:varchar(15);index:idx_drop_records_status"` Hash string `gorm:"type:varchar(64)"` Signature string `gorm:"type:text"` ErrorMessage string `gorm:"type:text"` }
DropRecord drop record model
func FindNewDropRecordByLimit ¶
func FindNewDropRecordByLimit(limit int32) (result []DropRecord, err error)
FindNewDropRecordByLimit find by limit
func (DropRecord) Save ¶
func (t DropRecord) Save(tx *gorm.DB) error
Save insert or update drop record
func (DropRecord) TableName ¶
func (DropRecord) TableName() string
TableName table name of DropRecord
Click to show internal directories.
Click to hide internal directories.