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

Delete documents/rows from a Collection/Table. More...

Public Attributes

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

Detailed Description

Delete documents/rows from a Collection/Table.

Returns
Mysqlx::Resultset

Member Data Documentation

◆ args

repeated Mysqlx::Datatypes::Scalar Mysqlx::Crud::Delete::args = 6

values for parameters used in filter expression

◆ client_message_id

ClientMessages::Type Mysqlx::Crud::Delete::client_message_id = CRUD_DELETE

◆ collection

required Collection Mysqlx::Crud::Delete::collection = 1

collection to change

◆ criteria

optional Mysqlx::Expr::Expr Mysqlx::Crud::Delete::criteria = 3

filter expression to match rows that the operations will apply on

◆ data_model

optional DataModel Mysqlx::Crud::Delete::data_model = 2

data model that the operations refer to

◆ limit

optional Limit Mysqlx::Crud::Delete::limit = 4

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

◆ limit_expr

optional LimitExpr Mysqlx::Crud::Delete::limit_expr = 7

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

◆ order

repeated Order Mysqlx::Crud::Delete::order = 5

specifies order of matched rows


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