Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { ID uint `gorm:"primaryKey"` Timestamps }
type Relationship ¶ added in v1.0.0
type Relationship struct { }
func (*Relationship) HasMany ¶ added in v1.0.0
func (r *Relationship) HasMany(dest, id interface{}, foreignKey string) error
func (*Relationship) HasOne ¶ added in v1.0.0
func (r *Relationship) HasOne(dest, id interface{}, foreignKey string) error
type SoftDeletes ¶
Click to show internal directories.
Click to hide internal directories.