exec

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	Query      string
	Connector  string
	Parameters []interface{}
}

type Output

type Output struct {
	RowsAffected int64  `json:"rowsAffected,omitempty"`
	LastInsertId int64  `json:"LastInsertId,omitempty"`
	Status       string `json:"status"`
	Error        string `json:"error,omitempty"`
	Connector    string `json:",omitempty"`
}

type Service

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

func New

func New(connectors *connector.Service) *Service

func (*Service) Execute

func (r *Service) Execute(ctx context.Context, input *Input) *Output

Jump to

Keyboard shortcuts

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