MySQL 8.0.40
Source Code Documentation
Mysqlx::Expr::Expr Struct Reference

The "root" of the expression tree. More...

Public Types

enum  Type {
  IDENT = 1 , LITERAL = 2 , VARIABLE = 3 , FUNC_CALL = 4 ,
  OPERATOR = 5 , PLACEHOLDER = 6 , OBJECT = 7 , ARRAY = 8
}
 

Public Attributes

required Type type = 1
 
optional ColumnIdentifier identifier = 2
 
optional string variable = 3
 
optional Mysqlx::Datatypes::Scalar literal = 4
 
optional FunctionCall function_call = 5
 
optional Operator operator=6
 
optional uint32 position = 7
 
optional Object object = 8
 
optional Array array = 9
 

Detailed Description

The "root" of the expression tree.

If expression type is PLACEHOLDER, then it refers to the value of a parameter specified when executing a statement (see args field of StmtExecute command). Field position (which must be present for such an expression) gives 0-based position of the parameter in the parameter list.

production list
expr: operator |
: identifier |
: function_call |
: variable |
: literal |
: object |
: array |
: placeholder

Member Enumeration Documentation

◆ Type

Enumerator
IDENT 
LITERAL 
VARIABLE 
FUNC_CALL 
OPERATOR 
PLACEHOLDER 
OBJECT 
ARRAY 

Member Data Documentation

◆ array

optional Array Mysqlx::Expr::Expr::array = 9

◆ function_call

optional FunctionCall Mysqlx::Expr::Expr::function_call = 5

◆ identifier

optional ColumnIdentifier Mysqlx::Expr::Expr::identifier = 2

◆ literal

optional Mysqlx::Datatypes::Scalar Mysqlx::Expr::Expr::literal = 4

◆ object

optional Object Mysqlx::Expr::Expr::object = 8

◆ operator=6

optional Operator Mysqlx::Expr::Expr::operator=6

◆ position

optional uint32 Mysqlx::Expr::Expr::position = 7

◆ type

required Type Mysqlx::Expr::Expr::type = 1

◆ variable

optional string Mysqlx::Expr::Expr::variable = 3

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