Documentation ¶
Index ¶
- func DeletedAt(t *time.Time) gorm.DeletedAt
- func DeletedAtNow() gorm.DeletedAt
- func DeletedAtNowP() *gorm.DeletedAt
- func DeletedAtP(t *time.Time) *gorm.DeletedAt
- func GetModelDBColumns(db *gorm.DB, model interface{}) []string
- func GetModelDBTableName(db *gorm.DB, model interface{}) (string, error)
- func GetModelMapWithDBColumns(model interface{}, reverse ...bool) (map[string]string, error)
- func GetModelPrimaryKeys(model interface{}) []string
- func RemoveOmit(tx *gorm.DB, columns ...string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeletedAtNow ¶
func DeletedAtNowP ¶
func GetModelDBColumns ¶
func GetModelPrimaryKeys ¶
func GetModelPrimaryKeys(model interface{}) []string
func RemoveOmit ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.