腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
【Go 语言每日package解析】
共 3 篇文章
加入清单架
1
【Go 语言每日package解析】 package json
2
【Go 语言每日package解析】 package sql
3
【Go 语言每日package解析】 package list
清单首页
【Go 语言每日package解析】
文章详情
清单「【Go 语言每日package解析】」 02/03
【Go 语言每日package解析】 package sql
李海彬
·Golang语言社区站长
Go 语言 开发包大全:http://www.goserver.club/discuz/ ... =12&from=portal注:在开发包大全中找 sql .
Variables
type Scanner
type NullBool
func (n *NullBool) Scan(value interface{}) error
func (n NullBool) Value() (driver.Value, error)
type NullInt64
func (n *NullInt64) Scan(value interface{}) error
func (n NullInt64) Value() (driver.Value, error)
type NullFloat64
func (n *NullFloat64) Scan(value interface{}) error
func (n NullFloat64) Value() (driver.Value, error)
type NullString
func (ns *NullString) Scan(value interface{}) error
func (ns NullString) Value() (driver.Value, error)
type RawBytes
type Result
type DB
func Open(driverName, dataSourceName string) (*DB, error)
func (db *DB) Driver() driver.Driver
func (db *DB) Ping() error
func (db *DB) Close() error
func (db *DB) SetMaxOpenConns(n int)
func (db *DB) SetMaxIdleConns(n int)
func (db *DB) Exec(query string, args ...interface{}) (Result, error)
func (db *DB) Query(query string, args ...interface{}) (*Rows, error)
func (db *DB) QueryRow(query string, args ...interface{}) *Row
func (db *DB) Prepare(query string) (*Stmt, error)
func (db *DB) Begin() (*Tx, error)
type Row
func (r *Row) Scan(dest ...interface{}) error
type Rows
func (rs *Rows) Columns() ([]string, error)
func (rs *Rows) Scan(dest ...interface{}) error
func (rs *Rows) Next() bool
func (rs *Rows) Close() error
func (rs *Rows) Err() error
type Stmt
func (s *Stmt) Exec(args ...interface{}) (Result, error)
func (s *Stmt) Query(args ...interface{}) (*Rows, error)
func (s *Stmt) QueryRow(args ...interface{}) *Row
func (s *Stmt) Close() error
type Tx
func (tx *Tx) Exec(query string, args ...interface{}) (Result, error)
func (tx *Tx) Query(query string, args ...interface{}) (*Rows, error)
func (tx *Tx) QueryRow(query string, args ...interface{}) *Row
func (tx *Tx) Prepare(query string) (*Stmt, error)
func (tx *Tx) Stmt(stmt *Stmt) *Stmt
func (tx *Tx) Commit() error
func (tx *Tx) Rollback() error
func Register(name string, driver driver.Driver)
下一篇
举报
领券