Documentation ¶
Overview ¶
Package ydb contains code specific for YDB database.
Index ¶
- func ErrorCheckerMakeConnection(err error) bool
- func ErrorCheckerQuery(err error) bool
- func NewConnectionManager(cfg *config.TYdbConfig, base rdbms_utils.ConnectionManagerBase) rdbms_utils.ConnectionManager
- func NewSQLFormatter() rdbms_utils.SQLFormatter
- func NewSchemaProvider(typeMapper datasource.TypeMapper) rdbms_utils.SchemaProvider
- func NewTypeMapper() datasource.TypeMapper
- type Connection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorCheckerMakeConnection ¶ added in v0.5.6
func ErrorCheckerQuery ¶ added in v0.5.5
func NewConnectionManager ¶
func NewConnectionManager( cfg *config.TYdbConfig, base rdbms_utils.ConnectionManagerBase, ) rdbms_utils.ConnectionManager
func NewSQLFormatter ¶
func NewSQLFormatter() rdbms_utils.SQLFormatter
func NewSchemaProvider ¶
func NewSchemaProvider( typeMapper datasource.TypeMapper, ) rdbms_utils.SchemaProvider
func NewTypeMapper ¶
func NewTypeMapper() datasource.TypeMapper
Types ¶
type Connection ¶
func (*Connection) Close ¶ added in v0.2.20
func (c *Connection) Close() error
func (*Connection) Query ¶
func (c *Connection) Query(ctx context.Context, query string, args ...any) (rdbms_utils.Rows, error)
Click to show internal directories.
Click to hide internal directories.