oracle

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const EngineName = "oracle"

Variables

This section is empty.

Functions

func NewOracle

func NewOracle(dsn string) (sqldatabase.Engine, error)

NewOracle creates a new Oracle engine. The dsn is the data source name.(e.g. oracle://user:pass@host:port/serviceName

Types

type Oracle

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

Oracle is a Oracle engine.

func (Oracle) Close

func (m Oracle) Close() error

func (Oracle) Dialect

func (m Oracle) Dialect() string

func (Oracle) Query

func (m Oracle) Query(ctx context.Context, query string, args ...any) ([]string, [][]string, error)

func (Oracle) TableInfo

func (m Oracle) TableInfo(ctx context.Context, table string) (string, error)

func (Oracle) TableNames

func (m Oracle) TableNames(ctx context.Context) ([]string, error)

Jump to

Keyboard shortcuts

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