package common
import "github.com/ydb-platform/ydb-go-sdk/v3/internal/xsql/common"
Index ¶
Types ¶
type Conn ¶
type Conn interface {
driver.Validator
driver.Pinger
ID() string
NodeID() uint32
Exec(ctx context.Context, sql string, params *params.Params) (result driver.Result, err error)
Query(ctx context.Context, sql string, params *params.Params) (result driver.RowsNextResultSet, err error)
Explain(ctx context.Context, sql string, params *params.Params) (ast string, plan string, err error)
BeginTx(ctx context.Context, opts driver.TxOptions) (Tx, error)
Close() error
}
type Tx ¶
type Tx interface {
ID() string
Exec(ctx context.Context, sql string, params *params.Params) (driver.Result, error)
Query(ctx context.Context, sql string, params *params.Params) (driver.RowsNextResultSet, error)
Rollback(ctx context.Context) error
Commit(ctx context.Context) error
}
Source Files ¶
- Version
- v3.115.0 (latest)
- Published
- Aug 17, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 8 months ago –
Tools for package owners.