queryinfo

package
v2.1.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2017 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryConstruct

type QueryConstruct struct {
	SQL              string
	Comments         string
	Keyspace         string
	BindVars         map[string]interface{}
	NotInTransaction bool
}

QueryConstruct contains the information about the sql and bindVars to be used by vtgate and engine.

func NewQueryConstruct

func NewQueryConstruct(sql, keyspace string, bindVars map[string]interface{}, notInTransaction bool) *QueryConstruct

NewQueryConstruct method initializes the structure.

Jump to

Keyboard shortcuts

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