package
0.0.0-20130121074735-1d03baafba06
Repository: https://github.com/icattlecoder/go.git
Documentation: pkg.go.dev

# Functions

IsScanValue reports whether v is a valid Value scan type.
IsValue reports whether v is a valid Value parameter type.

# Variables

Bool is a ValueConverter that converts input values to bools.
DefaultParameterConverter is the default implementation of ValueConverter that's used when a Stmt doesn't implement ColumnConverter.
ErrBadConn should be returned by a driver to signal to the sql package that a driver.Conn is in a bad state (such as the server having earlier closed the connection) and the sql package should retry on a new connection.
ErrSkip may be returned by some optional interfaces' methods to indicate at runtime that the fast path is unavailable and the sql package should continue as if the optional interface was not implemented.
Int32 is a ValueConverter that converts input values to int64, respecting the limits of an int32 value.
ResultNoRows is a pre-defined Result for drivers to return when a DDL command (such as a CREATE TABLE) succeeds.
String is a ValueConverter that converts its input to a string.

# Structs

NotNull is a type that implements ValueConverter by disallowing nil values but otherwise delegating to another ValueConverter.
Null is a type that implements ValueConverter by allowing nil values but otherwise delegating to another ValueConverter.

# Interfaces

ColumnConverter may be optionally implemented by Stmt if the the statement is aware of its own columns' types and can convert from any type to a driver Value.
Conn is a connection to a database.
Driver is the interface that must be implemented by a database driver.
Execer is an optional interface that may be implemented by a Conn.
Result is the result of a query execution.
Rows is an iterator over an executed query's results.
Stmt is a prepared statement.
Tx is a transaction.
A driver Value is a value that drivers must be able to handle.
ValueConverter is the interface providing the ConvertValue method.
Valuer is the interface providing the Value method.

# Type aliases

RowsAffected implements Result for an INSERT or UPDATE operation which mutates a number of rows.