MySQL 8.0.39
Source Code Documentation
Mysqlx::Expect::Open Struct Reference

Open an Expect block and set/unset the conditions that have to be fulfilled. More...

Classes

struct  Condition
 

Public Types

enum  CtxOperation { EXPECT_CTX_COPY_PREV = 0 , EXPECT_CTX_EMPTY = 1 }
 

Public Attributes

optional CtxOperation op = 1 [ default = EXPECT_CTX_COPY_PREV ]
 
repeated Condition cond = 2
 
ClientMessages::Type client_message_id = EXPECT_OPEN
 

Detailed Description

Open an Expect block and set/unset the conditions that have to be fulfilled.

If any of the conditions fail, all enclosed messages will fail with a Mysqlx::Error message.

Returns
Mysqlx::Ok on success, Mysqlx::Error on error

Member Enumeration Documentation

◆ CtxOperation

Enumerator
EXPECT_CTX_COPY_PREV 

copy the operations from the parent Expect-block

EXPECT_CTX_EMPTY 

start with a empty set of operations

Member Data Documentation

◆ client_message_id

ClientMessages::Type Mysqlx::Expect::Open::client_message_id = EXPECT_OPEN

◆ cond

repeated Condition Mysqlx::Expect::Open::cond = 2

◆ op

optional CtxOperation Mysqlx::Expect::Open::op = 1 [ default = EXPECT_CTX_COPY_PREV ]

The documentation for this struct was generated from the following file: