Documentation ¶
Index ¶
- type Straw
- func (s *Straw) Conn() *gorm.DB
- func (s *Straw) Create(value interface{}) *gorm.DB
- func (s *Straw) Exec(sql string, values ...interface{}) *gorm.DB
- func (s *Straw) Save(value interface{}) *gorm.DB
- func (s *Straw) SetRead(host string, port string, user string, password string, database string)
- func (s *Straw) SetWrite(host string, port string, user string, password string, database string)
- func (s *Straw) Where(query interface{}, args ...interface{}) *gorm.DB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.