mysql

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2025 License: MIT Imports: 15 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 = "MySQL version:%s json_object is not supported"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Mysql

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

func (*Mysql) Command

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

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

func (*Mysql) Connect

func (s *Mysql) Connect(params et.Json) (*sql.DB, error)

* * Connect * @param params et.Json * @return error *

func (*Mysql) Count

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

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

func (*Mysql) Disconnect

func (s *Mysql) Disconnect() error

* * Disconnect * @return error *

func (*Mysql) DropModel

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

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

func (*Mysql) Exists

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

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

func (*Mysql) LoadModel

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

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

func (*Mysql) MutateModel

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

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

func (*Mysql) Name

func (s *Mysql) Name() string

func (*Mysql) Select

func (s *Mysql) 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