Documentation
¶
Index ¶
- func Query[T interface{}](db *gorm.DB, object *[]T, strSelect string, where []map[string]string, ...)
- func QueryAll[T interface{}](db *gorm.DB, object *[]T, strSelect string, where []map[string]string, ...)
- func Raw[T interface{}](db *gorm.DB, objects *[]T, raw string, variables ...interface{})
- func SaveBatch[T interface{}](db *gorm.DB, objs []T, vars ...string) *gorm.DB
- func SelectAllByField[T interface{}](db *gorm.DB, objects *[]T, orderId string, field string) error
- func SelectById[T interface{}](db *gorm.DB, orderId string, object *T) error
- func UpdatesWhere[T comparable](db *gorm.DB, o T, where map[string]string, vars ...[]string) *gorm.DB
- type DBEx
- type Page
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SelectAllByField ¶
func UpdatesWhere ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.