sql

package module
v0.0.0-...-cfbca76 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyValue

type KeyValue map[string]interface{}

type RootModule

type RootModule struct{}

func (*RootModule) NewModuleInstance

func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance

type SQL

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

func (*SQL) Exports

func (sql *SQL) Exports() modules.Exports

func (*SQL) Open

func (*SQL) Open(connectorType string, connectionString string) (*dbsql.DB, error)

func (*SQL) Query

func (*SQL) Query(db *dbsql.DB, query string, args ...interface{}) ([]KeyValue, error)

Jump to

Keyboard shortcuts

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