ydb

package
v0.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package ydb contains code specific for YDB database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorCheckerMakeConnection added in v0.5.6

func ErrorCheckerMakeConnection(err error) bool

func ErrorCheckerQuery added in v0.5.5

func ErrorCheckerQuery(err error) bool

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

type Connection struct {
	*sql.DB
	// contains filtered or unexported fields
}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL