Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Executor ¶
type Executor interface { Release() BeginTransaction() *cd.Result CommitTransaction() *cd.Result RollbackTransaction() *cd.Result Query(sql string, needCols bool) (ret []string, err *cd.Result) Next() bool Finish() GetField(value ...interface{}) *cd.Result Execute(sql string) (rowsAffected int64, lastInsertID int64, err *cd.Result) CheckTableExist(tableName string) (bool, *cd.Result) }
Executor 数据库访问对象
Click to show internal directories.
Click to hide internal directories.