![]() |
MySQL 8.0.43
Source Code Documentation
|
Insert documents/rows into a collection/table. More...
Classes | |
| struct | TypedRow |
| set of fields to insert as a one row More... | |
Public Attributes | |
| required Collection | collection = 1 |
| collection to insert into More... | |
| optional DataModel | data_model = 2 |
| data model that the operations refer to More... | |
| repeated Column | projection = 3 |
| name of the columns to insert data into (empty if data_model is DOCUMENT) More... | |
| repeated TypedRow | row = 4 |
| set of rows to insert into the collection/table (a single expression with a JSON document literal or an OBJECT expression) More... | |
| repeated Mysqlx::Datatypes::Scalar | args = 5 |
| values for parameters used in row expressions More... | |
| optional bool | upsert = 6 [default = false] |
| true if this should be treated as an Upsert (that is, update on duplicate key) More... | |
| ClientMessages::Type | client_message_id = CRUD_INSERT |
Insert documents/rows into a collection/table.
| repeated Mysqlx::Datatypes::Scalar Mysqlx::Crud::Insert::args = 5 |
values for parameters used in row expressions
| ClientMessages::Type Mysqlx::Crud::Insert::client_message_id = CRUD_INSERT |
| required Collection Mysqlx::Crud::Insert::collection = 1 |
collection to insert into
| optional DataModel Mysqlx::Crud::Insert::data_model = 2 |
data model that the operations refer to
| repeated Column Mysqlx::Crud::Insert::projection = 3 |
name of the columns to insert data into (empty if data_model is DOCUMENT)
| repeated TypedRow Mysqlx::Crud::Insert::row = 4 |
set of rows to insert into the collection/table (a single expression with a JSON document literal or an OBJECT expression)
| optional bool Mysqlx::Crud::Insert::upsert = 6 [default = false] |
true if this should be treated as an Upsert (that is, update on duplicate key)