db

package
v1.0.2-dev-10 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MulanPSL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register()

Types

type DbqueryFuncService

type DbqueryFuncService struct {
	funchandler.FuncService
}

func NewDbqueryFuncService

func NewDbqueryFuncService() *DbqueryFuncService

func (*DbqueryFuncService) ExeFunc

func (this *DbqueryFuncService) ExeFunc(c *gin.Context) (any, error)

func (*DbqueryFuncService) ExecuteCmd

func (this *DbqueryFuncService) ExecuteCmd(ctx *gin.Context)

@Summary DbCmd @Tags DB服务 @Produce json @Param body body dbwebdto.PageDbWebRequest true "请求参数" @Success 200 {object} page.PageResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /cmd [post]

func (*DbqueryFuncService) ExecuteMeta

func (this *DbqueryFuncService) ExecuteMeta(ctx *gin.Context)

@Summary Meta @Tags DB服务 @Produce json @Param body body dbwebdto.PageDbWebRequest true "请求参数" @Success 200 {object} page.PageResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /meta [post]

func (*DbqueryFuncService) ExecuteQuery

func (this *DbqueryFuncService) ExecuteQuery(ctx *gin.Context)

@Summary Query @Tags DB服务 @Produce json @Param body body dbwebdto.PageDbWebRequest true "请求参数" @Success 200 {object} page.PageResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /query [post]

func (*DbqueryFuncService) ExecuteScanTable

func (this *DbqueryFuncService) ExecuteScanTable(ctx *gin.Context)

@Summary QuerySCAN @Tags DB服务 @Produce json @Success 200 {object} page.PageResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /scantable [get]

Jump to

Keyboard shortcuts

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