Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connection ¶
type Connection interface {
Query(ctx context.Context, query string) (dio.Reader, error)
QueryRow(ctx context.Context, query string) Row
Close(ctx context.Context) error
}
Connection represents a connection to a database.
type ConnectionConfig ¶
type ConnectionConfig interface {
ConnectionString() string
}
ConnectionConfig is a configuration for a connection to a database.
type MetadataReader ¶
type MetadataReader interface {
}
type Platform ¶
type Platform interface {
OpenConnection(ctx context.Context, config ConnectionConfig) (Connection, error)
}
Platform represents a database platform.
Click to show internal directories.
Click to hide internal directories.