# Functions
CloseDB 关闭数据库连接.
Execute 多表操作,使用事务处理.
GetDB 获取数据库连接对象.
No description provided by the author
InitDB 初始化数据库连接.
带连接池设置的DB对象.
MapScan 从sql.Rows映射到map.
No description provided by the author
No description provided by the author
Query 通用查询方法,返回[]mapqueryStr 查询语句values 参数返回值:数据集合,错误 models.Query("SELECT * FROM tablename where id = ?",2).
返回查询行数.
QueryForPage 通用分页查询方法pageIndex 页码pageSize 记录数queryStr 查询语句values 参数返回值:数据集合,总记录数,错误 models.QueryForPage(1,10,"SELECT * FROM tablename where id = ?",2).
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author