oracle

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MSG_FUNCION_NOT_FOUND     = "Function not found"
	MSG_COMMAND_NOT_FOUND     = "Command not found"
	MSG_VERSION_NOT_SUPPORTED = "PostgreSQL version:%s json_object is not supported"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection added in v0.1.20

type Connection struct {
	Database string `json:"database"`
	Host     string `json:"host"`
	Port     int    `json:"port"`
	Username string `json:"username"`
	Password string `json:"password"`
	App      string `json:"app"`
	Version  int    `json:"version"`
}

func (*Connection) Chain added in v0.1.20

func (s *Connection) Chain() (string, error)

* * Chain * @return string, error *

func (*Connection) ToJson added in v0.1.20

func (s *Connection) ToJson() et.Json

* * ToJson * @return et.Json *

func (*Connection) Validate added in v0.1.20

func (s *Connection) Validate() error

* * Validate * @return error *

type Oracle

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

func (*Oracle) Command

func (s *Oracle) Command(command *jdb.Command) (et.Items, error)

* * Command * @param command *jdb.Command * @return et.Items, error *

func (*Oracle) Connect

func (s *Oracle) Connect(connection jdb.ConnectParams) (*sql.DB, error)

* * Connect * @param connection jdb.ConnectParams * @return error *

func (*Oracle) Count

func (s *Oracle) Count(ql *jdb.Ql) (int, error)

* * Count * @param ql *jdb.Ql * @return int, error *

func (*Oracle) CreateDatabase added in v0.1.20

func (s *Oracle) CreateDatabase(name string) error

* * CreateDatabase * @param name string * @return error *

func (*Oracle) Disconnect

func (s *Oracle) Disconnect() error

* * Disconnect * @return error *

func (*Oracle) DropDatabase added in v0.1.20

func (s *Oracle) DropDatabase(name string) error

* * DropDatabase * @param name string * @return error *

func (*Oracle) DropModel

func (s *Oracle) DropModel(model *jdb.Model) error

* * DropModel * @param model *jdb.Model * @return error *

func (*Oracle) EmptyModel added in v0.1.18

func (s *Oracle) EmptyModel(model *jdb.Model) error

* * EmptyModel * @param model *jdb.Model * @return error *

func (*Oracle) ExistDatabase added in v0.1.20

func (s *Oracle) ExistDatabase(name string) (bool, error)

* * ExistDatabase * @param name string * @return bool, error *

func (*Oracle) Exists

func (s *Oracle) Exists(ql *jdb.Ql) (bool, error)

* * Exists * @param ql *jdb.Ql * @return bool, error *

func (*Oracle) LoadModel

func (s *Oracle) LoadModel(model *jdb.Model) error

* * LoadModel * @param model *jdb.Model * @return error *

func (*Oracle) MutateModel

func (s *Oracle) MutateModel(model *jdb.Model) error

* * MutateModel * @param model *jdb.Model * @return error *

func (*Oracle) Name

func (s *Oracle) Name() string

func (*Oracle) Select

func (s *Oracle) Select(ql *jdb.Ql) (et.Items, error)

* * Select * @param ql *jdb.Ql * @return et.Items, error *

Jump to

Keyboard shortcuts

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