package iface
import "github.com/ydb-platform/ydb-go-sdk/v3/internal/xsql/iface"
Index ¶
- func IsPreparedStatement(ctx context.Context) bool
- func WithPreparedStatement(ctx context.Context) context.Context
- type Conn
- type Tx
Functions ¶
func IsPreparedStatement ¶
func WithPreparedStatement ¶
Types ¶
type Conn ¶
type Conn interface { driver.Validator driver.Pinger ID() string 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.95.6
- Published
- Jan 10, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 6 minutes ago –
Tools for package owners.