Documentation
¶
Index ¶
- func GetPoolDict() map[string][]*sql.DB
- func Load()
- type Cluster
- type Machine
- type Sql
- func (this *Sql) Add() int64
- func (this *Sql) AddList() int64
- func (this *Sql) Begin() *sql.Tx
- func (this *Sql) Bind(bind interface{}) *Sql
- func (this *Sql) Business(business string) *Sql
- func (this *Sql) Commit()
- func (this *Sql) Count() (o int64)
- func (this *Sql) Del() int64
- func (this *Sql) Execute() int64
- func (this *Sql) Field(field string) *Sql
- func (this *Sql) Get() (o map[string]string)
- func (this *Sql) GetList() (o []map[string]string)
- func (this *Sql) Group(group string) *Sql
- func (this *Sql) Having(having string) *Sql
- func (this *Sql) Ignore(ignore ...string) *Sql
- func (this *Sql) Index(index string) *Sql
- func (this *Sql) Limit(limit int) *Sql
- func (this *Sql) Machine(machine *Machine) *Sql
- func (this *Sql) Master(master bool) *Sql
- func (this *Sql) MasterMachine(machine *Machine) *Sql
- func (this *Sql) Offset(offset int) *Sql
- func (this *Sql) Order(order string) *Sql
- func (this *Sql) Parameter(parameter ...interface{}) *Sql
- func (this *Sql) Pool(pool *sql.DB) *Sql
- func (this *Sql) Query() []map[string]string
- func (this *Sql) Rollback()
- func (this *Sql) Row(row map[string]interface{}) *Sql
- func (this *Sql) RowList(rowList []map[string]interface{}) *Sql
- func (this *Sql) Set() int64
- func (this *Sql) SlaverMachine(machine *Machine) *Sql
- func (this *Sql) Sql(sql string) *Sql
- func (this *Sql) Table(table string) *Sql
- func (this *Sql) Transaction(group func(tx *sql.Tx))
- func (this *Sql) Tx(tx *sql.Tx) *Sql
- func (this *Sql) Where(where string) *Sql
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPoolDict ¶
Types ¶
type Sql ¶
type Sql struct {
// contains filtered or unexported fields
}
func (*Sql) MasterMachine ¶
func (*Sql) SlaverMachine ¶
func (*Sql) Transaction ¶
Click to show internal directories.
Click to hide internal directories.