Documentation
¶
Index ¶
- func SearchObject(db *gorm.DB, wheres map[string]interface{}, out interface{}) error
- func SearchObjectByIn(db *gorm.DB, wheres map[string]interface{}, ins map[string]interface{}, ...) error
- func SearchObjectByOrder(db *gorm.DB, wheres map[string]interface{}, ins map[string]interface{}, ...) error
- func UpdateObject(db *gorm.DB, wheres, updates map[string]interface{}) error
- func UpdateObjectIns(db *gorm.DB, wheres, ins, updates map[string]interface{}) error
- type XDB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SearchObject ¶
func SearchObjectByIn ¶
func SearchObjectByOrder ¶
func UpdateObject ¶
updates maybe use gorm.Expr()
Types ¶
type XDB ¶ added in v0.2.18
type XDB struct {
// contains filtered or unexported fields
}
func (*XDB) ResCreateMany ¶ added in v0.2.18
func (*XDB) ResDeleteMany ¶ added in v0.2.18
Click to show internal directories.
Click to hide internal directories.