前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >【Go 语言每日package解析】 package sql

【Go 语言每日package解析】 package sql

作者头像
李海彬
发布2018-03-19 16:13:50
6830
发布2018-03-19 16:13:50
举报
文章被收录于专栏: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)
本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2016-01-01,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 Golang语言社区 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档