Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch interface {
Append(v ...interface{}) error
Column(int) BatchColumn
Send() error
}
type BatchColumn ¶
type BatchColumn interface {
Append(interface{}) error
}
type Conn ¶
type Conn interface {
ServerVersion() (*ServerVersion, error)
Select(ctx context.Context, dest interface{}, query string, args ...interface{}) error
Query(ctx context.Context, query string, args ...interface{}) (Rows, error)
QueryRow(ctx context.Context, query string, args ...interface{}) Row
PrepareBatch(ctx context.Context, query string) (Batch, error)
Exec(ctx context.Context, query string, args ...interface{}) error
Ping(context.Context) error
Stats() Stats
Close() error
}
type NamedValue ¶
type NamedValue struct {
Name string
Value interface{}
}
type ServerVersion ¶
type ServerVersion = proto.ServerHandshake
Click to show internal directories.
Click to hide internal directories.