Documentation ¶
Index ¶
- Constants
- Variables
- type StmtExecute
- func (*StmtExecute) Descriptor() ([]byte, []int)deprecated
- func (x *StmtExecute) GetArgs() []*mysqlxdatatypes.Any
- func (x *StmtExecute) GetCompactMetadata() bool
- func (x *StmtExecute) GetNamespace() string
- func (x *StmtExecute) GetStmt() []byte
- func (*StmtExecute) ProtoMessage()
- func (x *StmtExecute) ProtoReflect() protoreflect.Message
- func (x *StmtExecute) Reset()
- func (x *StmtExecute) String() string
- type StmtExecuteOk
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
Click to show internal directories.
Click to hide internal directories.