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 NamedDateValue ¶ added in v2.1.1
type NamedValue ¶
type PrepareBatchOption ¶ added in v2.13.0
type PrepareBatchOption func(options *PrepareBatchOptions)
func WithCloseOnFlush ¶ added in v2.24.0
func WithCloseOnFlush() PrepareBatchOption
WithCloseOnFlush closes batch INSERT query when Flush is executed
func WithReleaseConnection ¶ added in v2.13.0
func WithReleaseConnection() PrepareBatchOption
type PrepareBatchOptions ¶ added in v2.13.0
type ServerVersion ¶
type ServerVersion = proto.ServerHandshake
Click to show internal directories.
Click to hide internal directories.