MySQL 8.0.40
Source Code Documentation
Mysqlx::Crud::Update Struct Reference

Update documents/rows in a collection/table. More...

Public Attributes

required Collection collection = 2
 collection to change More...
 
optional DataModel data_model = 3
 datamodel that the operations refer to
More...
 
optional Mysqlx::Expr::Expr criteria = 4
 filter expression to match rows that the operations will apply on More...
 
optional Limit limit = 5
 limits the number of rows to match (user can set one of: limit, limit_expr) More...
 
repeated Order order = 6
 specifies order of matched rows More...
 
repeated UpdateOperation operation = 7
 list of operations to be applied. More...
 
repeated Mysqlx::Datatypes::Scalar args = 8
 values for parameters used in filter expression More...
 
optional LimitExpr limit_expr = 9
 limits the number of rows to match (user can set one of: limit, limit_expr) More...
 
ClientMessages::Type client_message_id = CRUD_UPDATE
 

Detailed Description

Update documents/rows in a collection/table.

Returns
Mysqlx::Resultset

Member Data Documentation

◆ args

repeated Mysqlx::Datatypes::Scalar Mysqlx::Crud::Update::args = 8

values for parameters used in filter expression

◆ client_message_id

ClientMessages::Type Mysqlx::Crud::Update::client_message_id = CRUD_UPDATE

◆ collection

required Collection Mysqlx::Crud::Update::collection = 2

collection to change

◆ criteria

optional Mysqlx::Expr::Expr Mysqlx::Crud::Update::criteria = 4

filter expression to match rows that the operations will apply on

◆ data_model

optional DataModel Mysqlx::Crud::Update::data_model = 3

datamodel that the operations refer to

◆ limit

optional Limit Mysqlx::Crud::Update::limit = 5

limits the number of rows to match (user can set one of: limit, limit_expr)

◆ limit_expr

optional LimitExpr Mysqlx::Crud::Update::limit_expr = 9

limits the number of rows to match (user can set one of: limit, limit_expr)

◆ operation

repeated UpdateOperation Mysqlx::Crud::Update::operation = 7

list of operations to be applied.

Valid operations will depend on the data_model

◆ order

repeated Order Mysqlx::Crud::Update::order = 6

specifies order of matched rows


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