database/sql.ColumnType
type ColumnType struct
- Kind
- type
- Module
database/sql- Since
- 1.8
Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
The entries of database/sql in the Go reference. This page has 158 cards.
type ColumnType struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*ColumnType) DatabaseTypeName() string
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*ColumnType) DecimalSize() (int64, int64, bool)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*ColumnType) Length() (int64, bool)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*ColumnType) Name() string
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*ColumnType) Nullable() (bool, bool)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*ColumnType) ScanType() reflect.Type
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Conn struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Conn) BeginTx(context.Context, *TxOptions) (*Tx, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Conn) Close() error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Conn) ExecContext(context.Context, string, ...interface{}) (Result, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Conn) PingContext(context.Context) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Conn) PrepareContext(context.Context, string) (*Stmt, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Conn) QueryContext(context.Context, string, ...interface{}) (*Rows, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Conn) QueryRowContext(context.Context, string, ...interface{}) *Row
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Conn) Raw(func(interface{}) error) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func ConvertAssign(driver.ScanContext, interface{}, driver.Value) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type DB struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) Begin() (*Tx, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) BeginTx(context.Context, *TxOptions) (*Tx, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) Close() error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) Conn(context.Context) (*Conn, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) Driver() driver.Driver
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) Exec(string, ...interface{}) (Result, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) ExecContext(context.Context, string, ...interface{}) (Result, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) Ping() error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) PingContext(context.Context) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) Prepare(string) (*Stmt, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) PrepareContext(context.Context, string) (*Stmt, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) Query(string, ...interface{}) (*Rows, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) QueryContext(context.Context, string, ...interface{}) (*Rows, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) QueryRow(string, ...interface{}) *Row
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) QueryRowContext(context.Context, string, ...interface{}) *Row
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) SetConnMaxIdleTime(time.Duration)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) SetConnMaxLifetime(time.Duration)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) SetMaxIdleConns(int)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) SetMaxOpenConns(int)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*DB) Stats() DBStats
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type DBStats struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type DBStats struct, Idle int
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type DBStats struct, InUse int
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type DBStats struct, MaxIdleClosed int64
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type DBStats struct, MaxIdleTimeClosed int64
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type DBStats struct, MaxLifetimeClosed int64
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type DBStats struct, MaxOpenConnections int
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type DBStats struct, OpenConnections int
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type DBStats struct, WaitCount int64
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type DBStats struct, WaitDuration time.Duration
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Drivers() []string
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
var ErrConnDone error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
var ErrNoRows error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
var ErrTxDone error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type IsolationLevel int
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (IsolationLevel) String() string
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
const LevelDefault = 0
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
const LevelLinearizable = 7
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
const LevelReadCommitted = 2
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
const LevelReadUncommitted = 1
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
const LevelRepeatableRead = 4
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
const LevelSerializable = 6
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
const LevelSnapshot = 5
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
const LevelWriteCommitted = 3
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Named(string, interface{}) NamedArg
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NamedArg struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NamedArg struct, Name string
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NamedArg struct, Value interface{}
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Null[$0 interface{}] struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Null[$0]) Scan(interface{}) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Null[$0 interface{}] struct, V $0
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Null[$0 interface{}] struct, Valid bool
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (Null[$0]) Value() (driver.Value, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullBool struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullBool struct, Bool bool
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*NullBool) Scan(interface{}) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullBool struct, Valid bool
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (NullBool) Value() (driver.Value, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullByte struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullByte struct, Byte uint8
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*NullByte) Scan(interface{}) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullByte struct, Valid bool
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (NullByte) Value() (driver.Value, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullFloat64 struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullFloat64 struct, Float64 float64
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*NullFloat64) Scan(interface{}) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullFloat64 struct, Valid bool
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (NullFloat64) Value() (driver.Value, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullInt16 struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullInt16 struct, Int16 int16
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*NullInt16) Scan(interface{}) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullInt16 struct, Valid bool
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (NullInt16) Value() (driver.Value, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullInt32 struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullInt32 struct, Int32 int32
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*NullInt32) Scan(interface{}) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullInt32 struct, Valid bool
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (NullInt32) Value() (driver.Value, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullInt64 struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullInt64 struct, Int64 int64
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*NullInt64) Scan(interface{}) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullInt64 struct, Valid bool
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (NullInt64) Value() (driver.Value, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullString struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*NullString) Scan(interface{}) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullString struct, String string
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullString struct, Valid bool
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (NullString) Value() (driver.Value, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullTime struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*NullTime) Scan(interface{}) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullTime struct, Time time.Time
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type NullTime struct, Valid bool
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (NullTime) Value() (driver.Value, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Open(string, string) (*DB, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func OpenDB(driver.Connector) *DB
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Out struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Out struct, Dest interface{}
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Out struct, In bool
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type RawBytes []uint8
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Register(string, driver.Driver)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Result interface { LastInsertId, RowsAffected }
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Result interface, LastInsertId() (int64, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Result interface, RowsAffected() (int64, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Row struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Row) Err() error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Row) Scan(...interface{}) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Rows struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Rows) Close() error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Rows) Columns() ([]string, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Rows) ColumnTypes() ([]*ColumnType, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Rows) Err() error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Rows) Next() bool
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Rows) NextResultSet() bool
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Rows) Scan(...interface{}) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Scanner interface { Scan }
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Scanner interface, Scan(interface{}) error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Stmt struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Stmt) Close() error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Stmt) Exec(...interface{}) (Result, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Stmt) ExecContext(context.Context, ...interface{}) (Result, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Stmt) Query(...interface{}) (*Rows, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Stmt) QueryContext(context.Context, ...interface{}) (*Rows, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Stmt) QueryRow(...interface{}) *Row
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Stmt) QueryRowContext(context.Context, ...interface{}) *Row
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Tx struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Tx) Commit() error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Tx) Exec(string, ...interface{}) (Result, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Tx) ExecContext(context.Context, string, ...interface{}) (Result, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Tx) Prepare(string) (*Stmt, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Tx) PrepareContext(context.Context, string) (*Stmt, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Tx) Query(string, ...interface{}) (*Rows, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Tx) QueryContext(context.Context, string, ...interface{}) (*Rows, error)
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Tx) QueryRow(string, ...interface{}) *Row
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Tx) QueryRowContext(context.Context, string, ...interface{}) *Row
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Tx) Rollback() error
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Tx) Stmt(*Stmt) *Stmt
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Tx) StmtContext(context.Context, *Stmt) *Stmt
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TxOptions struct
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TxOptions struct, Isolation IsolationLevel
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TxOptions struct, ReadOnly bool
database/sqlSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.