sqlutil

package
Version: v0.0.0-...-81863fa Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InternalExecutor

type InternalExecutor interface {
	// ExecuteStatementInTransaction executes the supplied SQL statement as part of
	// the supplied transaction. Statements are currently executed as the root user.
	ExecuteStatementInTransaction(
		opName string, txn *client.Txn, statement string, params ...interface{}) (int, error)
}

InternalExecutor is meant to be used by layers below SQL in the system that nevertheless want to execute SQL queries (presumably against system tables). It is extracted in this "sql/util" package to avoid circular references and is implemented by sql.InternalExecutor.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL