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.
Click to show internal directories.
Click to hide internal directories.