Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao interface { String() string Release() BeginTransaction() error CommitTransaction() error RollbackTransaction() error Query(sql string, args ...any) error Next() bool Finish() GetField(value ...interface{}) error Insert(sql string, args ...any) (int64, error) Update(sql string, args ...any) (int64, error) Delete(sql string, args ...any) (int64, error) Execute(sql string, args ...any) (int64, error) CheckTableExist(tableName string) (bool, error) }
Dao 数据库访问对象
Click to show internal directories.
Click to hide internal directories.