executor

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Factories = make(map[string]executorFactory)

Factories is the map of executor factories.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	// ExecuteScript execute the script.
	ExecuteScript(script string) error
	// Schema returns the schema of the database.
	Schema() (string, error)
	// Dispose closes the database connection.
	Dispose() error
}

Executor is the interface that wraps the ExecuteScript and Schema methods.

Jump to

Keyboard shortcuts

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