Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type ColumnType ¶
type Conn ¶
type Conn interface {
Contributors() []string
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
AsyncInsert(ctx context.Context, query string, wait bool) error
Ping(context.Context) error
Stats() Stats
Close() error
}
type Row ¶
type Rows ¶
type ServerVersion ¶
type ServerVersion = proto.ServerHandshake
Source Files
¶
- driver.go
Click to show internal directories.
Click to hide internal directories.