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() error CommitTransaction() error RollbackTransaction() error Query(sql string) error Next() bool Finish() GetField(value ...interface{}) error Execute(sql string) (rowsAffected int64, lastInsertID int64, err error) CheckTableExist(tableName string) (bool, error) }
Executor 数据库访问对象
func NewExecutor ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.