Documentation ¶
Index ¶
- Constants
- func NewConnectionManager(cfg *config.TMySQLConfig, base rdbms_utils.ConnectionManagerBase) rdbms_utils.ConnectionManager
- func NewSQLFormatter() rdbms_utils.SQLFormatter
- func NewTypeMapper() datasource.TypeMapper
- func TableMetadataQuery(request *api_service_protos.TDescribeTableRequest) (string, []any)
- type Connection
Constants ¶
View Source
const ( COLUMN_TYPE_COLUMN = "COLUMN_TYPE" METAINFO_SCHEMA_NAME = "information_schema" )
Variables ¶
This section is empty.
Functions ¶
func NewConnectionManager ¶
func NewConnectionManager(cfg *config.TMySQLConfig, base rdbms_utils.ConnectionManagerBase) rdbms_utils.ConnectionManager
func NewSQLFormatter ¶
func NewSQLFormatter() rdbms_utils.SQLFormatter
func NewTypeMapper ¶
func NewTypeMapper() datasource.TypeMapper
func TableMetadataQuery ¶ added in v0.4.8
func TableMetadataQuery(request *api_service_protos.TDescribeTableRequest) (string, []any)
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func (*Connection) Close ¶
func (c *Connection) Close() error
func (*Connection) Query ¶
func (c *Connection) Query(_ context.Context, query string, args ...any) (rdbms_utils.Rows, error)
Click to show internal directories.
Click to hide internal directories.