oci

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonQuote

func JsonQuote(val interface{}) interface{}

func NewDriver

func NewDriver() jdb.Driver

Types

type Oracle

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

func (*Oracle) ChangePassword

func (s *Oracle) ChangePassword(username, password, confirmation string) error

func (*Oracle) Command

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

func (*Oracle) Connect

func (s *Oracle) Connect(params et.Json) error

func (*Oracle) Count

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

func (*Oracle) CreateCore

func (s *Oracle) CreateCore() error

func (*Oracle) CreateDatabase

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

func (*Oracle) CreateModel

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

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

func (*Oracle) CreateSchema

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

func (*Oracle) CreateUser

func (s *Oracle) CreateUser(username, password, confirmation string) error

func (*Oracle) CurrentSerie

func (s *Oracle) CurrentSerie(tag string) int64

func (*Oracle) Data

func (s *Oracle) Data(sourceFiled, sql string, arg ...any) (et.Items, error)

* * Data * @param source, sql string, arg ...any * @return et.Items, error *

func (*Oracle) DeleteUser

func (s *Oracle) DeleteUser(username string) error

func (*Oracle) Disconnect

func (s *Oracle) Disconnect() error

func (*Oracle) DropDatabase

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

func (*Oracle) DropModel

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

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

func (*Oracle) DropSchema

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

func (*Oracle) Exec

func (s *Oracle) Exec(sql string, arg ...any) error

* * Exec * @param sql string, arg ...any * @return error *

func (*Oracle) ExecDDL

func (s *Oracle) ExecDDL(id, sql string, arg ...any) error

* * ExecDDL * @param id, sql string, arg ...any * @return error *

func (*Oracle) ExistDatabase

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

func (*Oracle) ExistSchema

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

func (*Oracle) Exists

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

func (*Oracle) GetSerie

func (s *Oracle) GetSerie(tag string) int64

func (*Oracle) GrantPrivileges

func (s *Oracle) GrantPrivileges(username, database string) error

func (*Oracle) LoadTable

func (s *Oracle) LoadTable(model *jdb.Model) (bool, error)

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

func (*Oracle) Name

func (s *Oracle) Name() string

func (*Oracle) NextCode

func (s *Oracle) NextCode(tag, prefix string) string

func (*Oracle) One

func (s *Oracle) One(sql string, arg ...any) (et.Item, error)

* * One * @param sql string, arg ...any * @return et.Item, error *

func (*Oracle) Query

func (s *Oracle) Query(sql string, arg ...any) (et.Items, error)

* * Query * @param sql string, arg ...any * @return et.Items, error *

func (*Oracle) QueryRow

func (s *Oracle) QueryRow(query string, dest ...any) (bool, error)

* * QueryRow * @param query string, dest ...any * @return error *

func (*Oracle) SaveModel

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

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

func (*Oracle) Select

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

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

func (*Oracle) SetMain

func (s *Oracle) SetMain(params et.Json) error

func (*Oracle) SetSerie

func (s *Oracle) SetSerie(tag string, val int) int64

func (*Oracle) Version

func (s *Oracle) Version() int

Jump to

Keyboard shortcuts

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