Documentation
¶
Index ¶
- type Business
- type Cluster
- type Machine
- type Master
- type Slaver
- type Sql
- func (this *Sql) Add() int64
- func (this *Sql) AddList() int64
- func (this *Sql) BeginTransaction() *sql.Tx
- func (this *Sql) Commit()
- func (this *Sql) Count() int64
- func (this *Sql) Del() int64
- func (this *Sql) Driver(driver string) *Sql
- func (this *Sql) Dsn(dsn string) *Sql
- func (this *Sql) Execute() int64
- func (this *Sql) Field(field string) *Sql
- func (this *Sql) Get() map[string]string
- func (this *Sql) GetList() []map[string]string
- func (this *Sql) Group(group 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) MachineMaster(machineMaster *Machine) *Sql
- func (this *Sql) MachineSlaver(machineSlaver *Machine) *Sql
- func (this *Sql) Master(master bool) *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) 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) Sql(sql string) *Sql
- func (this *Sql) Table(table string) *Sql
- 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 ¶
This section is empty.
Types ¶
type Sql ¶
type Sql struct {
// contains filtered or unexported fields
}
func (*Sql) BeginTransaction ¶
func (*Sql) MachineMaster ¶
func (*Sql) MachineSlaver ¶
Click to show internal directories.
Click to hide internal directories.