Versions in this module Expand all Collapse all v1 v1.1.0 Feb 5, 2025 v1.0.0 Jan 22, 2025 Changes in this version + type Business struct + ClusterList []*Cluster + Count int + type Cluster struct + Master *Master + Slaver *Slaver + type Machine struct + Charset string + Collation string + Database string + Driver string + Host string + Password string + Port string + Username string + type Master struct + Count int + MachineList []*Machine + type Slaver struct + Count int + MachineList []*Machine + type Sql struct + func New() *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