Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColumnType ¶
type Conn ¶
type Conn interface { Contributors() []string ServerVersion() (*ServerVersion, error) Select(ctx context.Context, dest any, query string, args ...any) error Query(ctx context.Context, query string, args ...any) (Rows, error) QueryRow(ctx context.Context, query string, args ...any) Row PrepareBatch(ctx context.Context, query string, opts ...PrepareBatchOption) (Batch, error) Exec(ctx context.Context, query string, args ...any) error AsyncInsert(ctx context.Context, query string, wait bool, args ...any) error Ping(context.Context) error Stats() Stats Close() error }
type NamedValue ¶
type PrepareBatchOption ¶
type PrepareBatchOption func(options *PrepareBatchOptions)
func WithReleaseConnection ¶
func WithReleaseConnection() PrepareBatchOption
type PrepareBatchOptions ¶
type PrepareBatchOptions struct {
ReleaseConnection bool
}
type ServerVersion ¶
type ServerVersion = proto.ServerHandshake
Click to show internal directories.
Click to hide internal directories.