package Mysqlx.Expr

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Array

mysqlx_expr.proto:266

a Array of expressions

Used in: Expr

message ColumnIdentifier

mysqlx_expr.proto:141

col_identifier (table): col@doc_path, tbl.col@doc_path col, tbl.col, schema.tbl.col col_identifier (document): doc_path .. productionlist:: col_identifier: string "." string "." string | : string "." string | : string | : string "." string "." string "@" document_path | : string "." string "@" document_path | : string "@" document_path | : document_path document_path: member | arrayLocation | doubleAsterisk member = "." string | "." "*" arrayLocation = "[" index "]" | "[" "*" "]" doubleAsterisk = "**"

Used in: Crud.UpdateOperation, Expr

message DocumentPathItem

mysqlx_expr.proto:111

DocumentPathItem .. productionlist:: document_path: path_item | path_item document_path path_item : member | array_index | "**" member : "." string | "." "*" array_index : "[" number "]" | "[" "*" "]"

Used in: Crud.Column, ColumnIdentifier

enum DocumentPathItem.Type

mysqlx_expr.proto:112

Used in: DocumentPathItem

message Expr

mysqlx_expr.proto:69

Expressions the "root" of the expression tree .. productionlist:: expr: `operator` | : `identifier` | : `function_call` | : variable | : `literal` | : placeholder 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.

Used in: Crud.Delete, Crud.Find, Crud.Insert.TypedRow, Crud.LimitExpr, Crud.Order, Crud.Projection, Crud.Update, Crud.UpdateOperation, Array, FunctionCall, Object.ObjectField, Operator

enum Expr.Type

mysqlx_expr.proto:70

Used in: Expr

message FunctionCall

mysqlx_expr.proto:152

function call: ``func(a, b, "1", 3)`` .. productionlist:: function_call: `identifier` "(" [ `expr` ["," `expr` ]* ] ")"

Used in: Expr

message Identifier

mysqlx_expr.proto:98

identifier: name, schame.name .. productionlist:: identifier: string "." string | : string

Used in: FunctionCall

message Object

mysqlx_expr.proto:256

an object (with expression values)

Used in: Expr

message Object.ObjectField

mysqlx_expr.proto:257

Used in: Object

message Operator

mysqlx_expr.proto:250

operator: ``<<(a, b)`` .. note:: Non-authoritative list of operators implemented (case sensitive): Nullary * ``*`` * ``default`` Unary * ``!`` * ``sign_plus`` * ``sign_minus`` * ``~`` Binary * ``&&`` * ``||`` * ``xor`` * ``==`` * ``!=`` * ``>`` * ``>=`` * ``<`` * ``<=`` * ``&`` * ``|`` * ``^`` * ``<<`` * ``>>`` * ``+`` * ``-`` * ``*`` * ``/`` * ``div`` * ``%`` * ``is`` * ``is_not`` * ``regexp`` * ``not_regexp`` * ``like`` * ``not_like`` * ``cast`` * ``cont_in`` * ``not_cont_in`` * ``overlaps`` * ``not_overlaps`` Using special representation, with more than 2 params * ``in`` (param[0] IN (param[1], param[2], ...)) * ``not_in`` (param[0] NOT IN (param[1], param[2], ...)) Ternary * ``between`` * ``between_not`` * ``date_add`` * ``date_sub`` Units for date_add/date_sub * ``MICROSECOND`` * ``SECOND`` * ``MINUTE`` * ``HOUR`` * ``DAY`` * ``WEEK`` * ``MONTH`` * ``QUARTER`` * ``YEAR`` * ``SECOND_MICROSECOND`` * ``MINUTE_MICROSECOND`` * ``MINUTE_SECOND`` * ``HOUR_MICROSECOND`` * ``HOUR_SECOND`` * ``HOUR_MINUTE`` * ``DAY_MICROSECOND`` * ``DAY_SECOND`` * ``DAY_MINUTE`` * ``DAY_HOUR`` Types for cast * ``BINARY[(N)]`` * ``CHAR[(N)]`` * ``DATE`` * ``DATETIME`` * ``DECIMAL[(M[,D])]`` * ``JSON`` * ``SIGNED [INTEGER]`` * ``TIME`` * ``UNSIGNED [INTEGER]`` .. productionlist:: operator: `name` "(" [ `expr` ["," `expr` ]* ] ")"

Used in: Expr