package Mysqlx.Crud

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

message Collection

mysqlx_crud.proto:68

collection

Used in: CreateView, Delete, DropView, Find, Insert, ModifyView, Update

message Column

mysqlx_crud.proto:44

column definition

Used in: Insert

message CreateView

mysqlx_crud.proto:291

enum DataModel

mysqlx_crud.proto:62

DataModel to use for filters, names, ...

Used in: Delete, Find, Insert, Update

message Delete

mysqlx_crud.proto:241

Delete documents/rows from a Collection/Table :param collection: collection to change :param data_model: datamodel that the operations refer to :param criteria: filter expression to match rows that the operations will apply on :param args: values for parameters used in filter expression :param limit: limits the number of rows to match (user can set one of: limit, limit_expr) :param order: specifies order of matched rows :param limit_expr: limits the number of rows to match (user can set one of: limit, limit_expr) :Returns: :protobuf:msg:`Mysqlx.Resultset::`

Used in: Prepare.Prepare.OneOfMessage

message DropView

mysqlx_crud.proto:337

message Find

mysqlx_crud.proto:151

Find Documents/Rows in a Collection/Table .. uml:: client -> server: Find ... one or more Resultset ... :param collection: collection to insert into :param data_model: datamodel that the operations refer to :param projection: list of column projections that shall be returned :param args: values for parameters used in filter expression :param criteria: filter criteria :param limit: numbers of rows that shall be skipped and returned (user can set one of: limit, limit_expr) :param order: sort-order in which the rows/document shall be returned in :param grouping: column expression list for aggregation (GROUP BY) :param grouping_criteria: filter criteria for aggregated groups :param locking: perform row locking on matches :param locking_options: additional options how to handle locked rows :param limit_expr: numbers of rows that shall be skipped and returned (user can set one of: limit, limit_expr) :Returns: :protobuf:msg:`Mysqlx.Resultset::`

Used in: CreateView, ModifyView, Prepare.Prepare.OneOfMessage

enum Find.RowLock

mysqlx_crud.proto:152

Used in: Find

enum Find.RowLockOptions

mysqlx_crud.proto:157

Used in: Find

message Insert

mysqlx_crud.proto:188

Insert documents/rows into a collection/table :param collection: collection to insert into :param data_model: datamodel that the operations refer to :param projection: name of the columns to insert data into (empty if data_model is DOCUMENT) :param row: set of rows to insert into the collection/table (a single expression with a JSON document literal or an OBJECT expression) :param args: values for parameters used in row expressions :param upsert: true if this should be treated as an Upsert (that is, update on duplicate key) :Returns: :protobuf:msg:`Mysqlx.Resultset::`

Used in: Prepare.Prepare.OneOfMessage

message Insert.TypedRow

mysqlx_crud.proto:194

Used in: Insert

message Limit

mysqlx_crud.proto:77

limit :param row_count: maximum rows to filter :param offset: maximum rows to skip before applying the row_count

Used in: Delete, Find, Update

message LimitExpr

mysqlx_crud.proto:91

limit expression LimitExpr in comparison to Limit, is able to specify that row_count and offset are placeholders. This message support expressions of following types Expr/literal/UINT, Expr/PLACEHOLDER. :param row_count: maximum rows to filter :param offset: maximum rows to skip before applying the row_count

Used in: Delete, Find, Update

message ModifyView

mysqlx_crud.proto:317

message Order

mysqlx_crud.proto:97

sort order

Used in: Delete, Find, Update

enum Order.Direction

mysqlx_crud.proto:98

Used in: Order

message Projection

mysqlx_crud.proto:56

a projection :param source: the expression identifying an element from the source data which can include a column identifier or any expression :param alias: optional alias. Required for DOCUMENTs (clients may use the source string as default)

Used in: Find

message Update

mysqlx_crud.proto:215

Update documents/rows in a collection/table :param collection: collection to change :param data_model: datamodel that the operations refer to :param criteria: filter expression to match rows that the operations will apply on :param args: values for parameters used in filter expression :param limit: limits the number of rows to match (user can set one of: limit, limit_expr) :param order: specifies order of matched rows :param operation: list of operations to be applied. Valid operations will depend on the data_model. :param limit_expr: limits the number of rows to match (user can set one of: limit, limit_expr) :Returns: :protobuf:msg:`Mysqlx.Resultset::`

Used in: Prepare.Prepare.OneOfMessage

message UpdateOperation

mysqlx_crud.proto:115

update operations :param source: specification of the value to be updated if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON if data_model is DOCUMENT, only document paths are allowed in both cases, schema and table must be not set :param operation: the type of operation to be performed :param value: an expression to be computed as the new value for the operation

Used in: Update

enum UpdateOperation.UpdateType

mysqlx_crud.proto:116

Used in: UpdateOperation

enum ViewAlgorithm

mysqlx_crud.proto:257

ViewAlgorithm defines how MySQL Server processes the view

Used in: CreateView, ModifyView

enum ViewCheckOption

mysqlx_crud.proto:274

ViewCheckOption limits the write operations done on a `VIEW` (`INSERT`, `UPDATE`, `DELETE`) to rows in which the `WHERE` clause is `TRUE`

Used in: CreateView, ModifyView

enum ViewSqlSecurity

mysqlx_crud.proto:266

ViewSqlSecurity defines the security context in which the view is going to be executed, this means that VIEW can be executed with current user permissions or with permissions of the uses who defined the VIEW

Used in: CreateView, ModifyView