Documentation ¶
Index ¶
- func Exec(db Execable, sql string, retAffect bool, params ...interface{}) (int64, error)
- func QueryMany(db Queryable, sql string, handler HandleFunc, params ...interface{}) error
- func QueryOne(db Queryable, sql string, handler HandleFunc, params ...interface{}) error
- type Execable
- type HandleFunc
- type Queryable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HandleFunc ¶
HandleFunc 查询时每行都会调用这个方法,一般通过闭包来对需要返回 的ORM对象进行赋值.
Click to show internal directories.
Click to hide internal directories.