Versions in this module Expand all Collapse all v0 v0.0.5 Aug 21, 2022 Changes in this version + var Conf ... + type Machine struct + Charset string + Collation string + Database string + Driver string + Host string + Password string + Pool *sql.DB + Port string + Username string + type Rd struct + func New(baseDatabase string, baseTable string) *Rd + func (this *Rd) Add(row map[string]interface{}) int64 + func (this *Rd) Begin() *Rd + func (this *Rd) Commit() *Rd + func (this *Rd) Count() int64 + func (this *Rd) DatabaseIndex(databaseIndex int) *Rd + func (this *Rd) Del() int64 + func (this *Rd) Execute(sql string, add bool) int64 + func (this *Rd) Exists() bool + func (this *Rd) Field(field string) *Rd + func (this *Rd) Get() map[string]string + func (this *Rd) GetList() []map[string]string + func (this *Rd) Group(group string) *Rd + func (this *Rd) Index(index string) *Rd + func (this *Rd) Limit(limit int) *Rd + func (this *Rd) Master() *Rd + func (this *Rd) Offset(offset int) *Rd + func (this *Rd) Order(order string) *Rd + func (this *Rd) Parameter(parameter ...interface{}) *Rd + func (this *Rd) Query(sql string) []map[string]string + func (this *Rd) Rollback() *Rd + func (this *Rd) Set(row map[string]interface{}) int64 + func (this *Rd) Shard() *Rd + func (this *Rd) TableIndex(tableIndex int) *Rd + func (this *Rd) Tx(rd *Rd) *Rd + func (this *Rd) Where(where string) *Rd