dataexec

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MysqlDbExec

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

func NewMysqlDbExec

func NewMysqlDbExec(c configstc.DBConfig) (*MysqlDbExec, error)

func (*MysqlDbExec) Copy

func (exec *MysqlDbExec) Copy() ifs.IAutoApiDataExec

func (*MysqlDbExec) DoCreate

func (exec *MysqlDbExec) DoCreate(params map[string]interface{}) (int64, error)

func (*MysqlDbExec) DoDelete

func (exec *MysqlDbExec) DoDelete(id int64) (int64, error)

func (*MysqlDbExec) DoQuery

func (exec *MysqlDbExec) DoQuery(conditions map[string]interface{}, fields []string) (map[string]interface{}, error)

func (*MysqlDbExec) DoSearch

func (exec *MysqlDbExec) DoSearch(conditions map[string]interface{}, fields []string, page, size int) ([]map[string]interface{}, int64, error)

func (*MysqlDbExec) DoUpdate

func (exec *MysqlDbExec) DoUpdate(id int64, params map[string]interface{}) (int64, error)

func (*MysqlDbExec) InitDB

func (exec *MysqlDbExec) InitDB(name string, c config.AutoApiDataDefined) error

func (*MysqlDbExec) TableName

func (exec *MysqlDbExec) TableName() string

Jump to

Keyboard shortcuts

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