mysqlxsql

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_StmtExecute_Namespace       = string("sql")
	Default_StmtExecute_CompactMetadata = bool(false)
)

Default values for StmtExecute fields.

Variables

View Source
var File_mysqlx_sql_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type StmtExecute

type StmtExecute struct {

	// * namespace of the statement to be executed
	Namespace *string `protobuf:"bytes,3,opt,name=namespace,def=sql" json:"namespace,omitempty"`
	// * statement that shall be executed
	Stmt []byte `protobuf:"bytes,1,req,name=stmt" json:"stmt,omitempty"`
	// * values for wildcard replacements
	Args []*mysqlxdatatypes.Any `protobuf:"bytes,2,rep,name=args" json:"args,omitempty"`
	// * send only type information for @ref Mysqlx::Resultset::ColumnMetaData,
	// skipping names and others
	CompactMetadata *bool `protobuf:"varint,4,opt,name=compact_metadata,json=compactMetadata,def=0" json:"compact_metadata,omitempty"`
	// contains filtered or unexported fields
}

Execute a statement in the given namespace.

@startuml "Execute Statements" client -> server: StmtExecute ... zero or more Resultsets ... server --> client: StmtExecuteOk @enduml

@notice This message may generate a notice containing WARNINGs generated by its execution. This message may generate a notice containing INFO messages generated by its execution.

@returns zero or more @ref Mysqlx::Resultset followed by @ref Mysqlx::Sql::StmtExecuteOk

func (*StmtExecute) Descriptor deprecated

func (*StmtExecute) Descriptor() ([]byte, []int)

Deprecated: Use StmtExecute.ProtoReflect.Descriptor instead.

func (*StmtExecute) GetArgs

func (x *StmtExecute) GetArgs() []*mysqlxdatatypes.Any

func (*StmtExecute) GetCompactMetadata

func (x *StmtExecute) GetCompactMetadata() bool

func (*StmtExecute) GetNamespace

func (x *StmtExecute) GetNamespace() string

func (*StmtExecute) GetStmt

func (x *StmtExecute) GetStmt() []byte

func (*StmtExecute) ProtoMessage

func (*StmtExecute) ProtoMessage()

func (*StmtExecute) ProtoReflect

func (x *StmtExecute) ProtoReflect() protoreflect.Message

func (*StmtExecute) Reset

func (x *StmtExecute) Reset()

func (*StmtExecute) String

func (x *StmtExecute) String() string

type StmtExecuteOk

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

* Statement executed successfully

func (*StmtExecuteOk) Descriptor deprecated

func (*StmtExecuteOk) Descriptor() ([]byte, []int)

Deprecated: Use StmtExecuteOk.ProtoReflect.Descriptor instead.

func (*StmtExecuteOk) ProtoMessage

func (*StmtExecuteOk) ProtoMessage()

func (*StmtExecuteOk) ProtoReflect

func (x *StmtExecuteOk) ProtoReflect() protoreflect.Message

func (*StmtExecuteOk) Reset

func (x *StmtExecuteOk) Reset()

func (*StmtExecuteOk) String

func (x *StmtExecuteOk) String() string

Jump to

Keyboard shortcuts

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