Documentation ¶
Overview ¶
Package ydb contains code specific for YDB database.
Index ¶
- Constants
- 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 ¶
View Source
const ( BoolType = "Bool" Int8Type = "Int8" Uint8Type = "Uint8" Int16Type = "Int16" Uint16Type = "Uint16" Int32Type = "Int32" Uint32Type = "Uint32" Int64Type = "Int64" Uint64Type = "Uint64" FloatType = "Float" DoubleType = "Double" StringType = "String" Utf8Type = "Utf8" DateType = "Date" DatetimeType = "Datetime" TimestampType = "Timestamp" )
Variables ¶
This section is empty.
Functions ¶
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) 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.