Documentation
¶
Index ¶
- func Connect() error
- func Unmarshal(v interface{}, data xjson.M)
- type XBuilder
- func (this *XBuilder) Add(data xjson.M) (int64, error)
- func (this *XBuilder) Alias(alias string) *XBuilder
- func (this *XBuilder) Commit() error
- func (this *XBuilder) Del(id ...uint32) (int64, error)
- func (this *XBuilder) Exce(_sql string, format ...interface{}) (sql.Result, error)
- func (this *XBuilder) Field(field string) *XBuilder
- func (this *XBuilder) Find() (xjson.M, error)
- func (this *XBuilder) FindObj(v interface{}) error
- func (this *XBuilder) GetLastSql() string
- func (this *XBuilder) Group(group string) *XBuilder
- func (this *XBuilder) Having(having string) *XBuilder
- func (this *XBuilder) LeftJoin(table string, on string) *XBuilder
- func (this *XBuilder) Limit(n int, m ...int) *XBuilder
- func (this *XBuilder) OnDuplicateKey(data string) *XBuilder
- func (this *XBuilder) Order(order string) *XBuilder
- func (this *XBuilder) Query(sql string) (xjson.A, error)
- func (this *XBuilder) ReplaceInfo(data xjson.M) (int64, error)
- func (this *XBuilder) RightJoin(table string, on string) *XBuilder
- func (this *XBuilder) Rollback() error
- func (this *XBuilder) Save(data xjson.M) (int64, error)
- func (this *XBuilder) SelctObj(v interface{}) error
- func (this *XBuilder) Select() (xjson.A, error)
- func (this *XBuilder) StartTrans() error
- func (this *XBuilder) Table(table string) *XBuilder
- func (this *XBuilder) Where(where string, format ...interface{}) *XBuilder
- type XMysql
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type XBuilder ¶
type XBuilder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func (*XBuilder) GetLastSql ¶
func (*XBuilder) OnDuplicateKey ¶
Click to show internal directories.
Click to hide internal directories.