Documentation ¶
Index ¶
- 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 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.