MySQL 8.0.39
Source Code Documentation
Mysqlx::Expr::DocumentPathItem Struct Reference

Document path item. More...

Public Types

enum  Type {
  MEMBER = 1 , MEMBER_ASTERISK = 2 , ARRAY_INDEX = 3 , ARRAY_INDEX_ASTERISK = 4 ,
  DOUBLE_ASTERISK = 5
}
 

Public Attributes

required Type type = 1
 
optional string value = 2
 
optional uint32 index = 3
 used in case of ARRY_INDEX More...
 

Detailed Description

Document path item.

production list
document_path: path_item | path_item document_path
path_item : member | array_index | "**"
member : "." string | "." "*"
array_index : "[" number "]" | "[" "*" "]"

Member Enumeration Documentation

◆ Type

Enumerator
MEMBER 

.member

MEMBER_ASTERISK 

.

ARRAY_INDEX 

[index]

ARRAY_INDEX_ASTERISK 

[*]

DOUBLE_ASTERISK 

**

Member Data Documentation

◆ index

optional uint32 Mysqlx::Expr::DocumentPathItem::index = 3

used in case of ARRY_INDEX

◆ type

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

◆ value

optional string Mysqlx::Expr::DocumentPathItem::value = 2

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