Documentation
¶
Overview ¶
Package sqlx extends package database/sql
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
Duration represents an time.Duration that not may be null. Duration implements the Scanner interface so it can be used as a scan destination.
type NullByte ¶
NullByte represents an byte that may be null. NullByte implements the Scanner interface so it can be used as a scan destination, similar to NullString.
type NullDate ¶
NullDate represents an time.Time that may be null. NullDate implements the Scanner interface so it can be used as a scan destination, similar to NullString.
type NullDateTime ¶
NullDateTime represents an time.Time that may be null. NullDateTime implements the Scanner interface so it can be used as a scan destination, similar to NullString.
func (*NullDateTime) Scan ¶
func (n *NullDateTime) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullDuration ¶
type NullDuration struct { Duration time.Duration Valid bool // Valid is true if Duration is not NULL }
NullDuration represents an time.Duration that may be null. NullDuration implements the Scanner interface so it can be used as a scan destination, similar to NullString.
func (*NullDuration) Scan ¶
func (n *NullDuration) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullFloat32 ¶
NullFloat32 represents an int32 that may be null. NullFloat32 implements the Scanner interface so it can be used as a scan destination, similar to NullString.
func (*NullFloat32) Scan ¶
func (n *NullFloat32) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullInt ¶
NullInt represents an int that may be null. NullInt implements the Scanner interface so it can be used as a scan destination, similar to NullString.
type NullInt16 ¶
NullInt16 represents an int16 that may be null. NullInt16 implements the Scanner interface so it can be used as a scan destination, similar to NullString.
type NullInt32 ¶
NullInt32 represents an int32 that may be null. NullInt32 implements the Scanner interface so it can be used as a scan destination, similar to NullString.
type NullInt8 ¶
NullInt8 represents an int8 that may be null. NullInt8 implements the Scanner interface so it can be used as a scan destination, similar to NullString.
type NullRune ¶
NullRune represents an rune that may be null. NullRune implements the Scanner interface so it can be used as a scan destination, similar to NullString.
type NullUint ¶
NullUint represents an uint that may be null. NullUint implements the Scanner interface so it can be used as a scan destination, similar to NullString.
type NullUint16 ¶
NullUint16 represents an uint16 that may be null. NullUint16 implements the Scanner interface so it can be used as a scan destination, similar to NullString.
func (*NullUint16) Scan ¶
func (n *NullUint16) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullUint32 ¶
NullUint32 represents an uint32 that may be null. NullUint32 implements the Scanner interface so it can be used as a scan destination, similar to NullString.
func (*NullUint32) Scan ¶
func (n *NullUint32) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullUint64 ¶
NullUint64 represents an uint64 that may be null. NullUint64 implements the Scanner interface so it can be used as a scan destination, similar to NullString.
func (*NullUint64) Scan ¶
func (n *NullUint64) Scan(value interface{}) error
Scan implements the Scanner interface.