oracle

package
v0.9.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQuerier

func NewQuerier[T any](conn *OracleExecutor) querier.Querier[T]

Types

type OracleConf

type OracleConf struct {
	User        string
	Password    string
	Host        string
	Port        int
	ServiceName string
	SSHTunnel   *sshtunnel.SshTunnel
}

type OracleExecutor

type OracleExecutor struct {
	// contains filtered or unexported fields
}

func NewOracleExecutor

func NewOracleExecutor(ctx context.Context, conf *OracleConf) (*OracleExecutor, error)

func (*OracleExecutor) Close

func (e *OracleExecutor) Close() error

func (*OracleExecutor) Exec

func (e *OracleExecutor) Exec(ctx context.Context, q string) error

func (*OracleExecutor) GetDb

func (e *OracleExecutor) GetDb() *sqlx.DB

func (*OracleExecutor) QueryRows

func (e *OracleExecutor) QueryRows(ctx context.Context, sql string, args ...interface{}) (*sqlx.Rows, error)

Jump to

Keyboard shortcuts

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