1 Star 0 Fork 9

7tima / Go通用工具

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
sql_common.go 307 Bytes
一键复制 编辑 原始数据 按行查看 历史
shallot 提交于 2019-07-14 13:20 . 提交SQLCommon实现。
package basic
import "database/sql"
// 原始SQL的接口
type SQLCommon interface {
Exec(query string, args ...interface{}) (sql.Result, error)
Prepare(query string) (*sql.Stmt, error)
Query(query string, args ...interface{}) (*sql.Rows, error)
QueryRow(query string, args ...interface{}) *sql.Row
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/monster1213/common.git
git@gitee.com:monster1213/common.git
monster1213
common
Go通用工具
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891