Documentation
¶
Index ¶
- Variables
- func Clauses(clause ...clause.Expression) *gorm.DB
- func Create(val interface{}) *gorm.DB
- func Delete(val interface{}, conditions ...interface{}) *gorm.DB
- func Find(q interface{}, args ...interface{}) *gorm.DB
- func First(v interface{}, where ...interface{}) *gorm.DB
- func Init(addr string) error
- func Migrate(vals ...interface{}) error
- func Model(val interface{}) *gorm.DB
- func Order(v string) *gorm.DB
- func Unscoped() *gorm.DB
- func Update(val interface{}) *gorm.DB
- func Where(q interface{}, args ...interface{}) *gorm.DB
- type DeletedAt
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // db connections DB *gorm.DB ErrNotFound = gorm.ErrRecordNotFound )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.