![]() |
MySQL 9.5.0
Source Code Documentation
|
Basic CRUD operations. More...
Classes | |
| struct | Collection |
| struct | Column |
| struct | CreateView |
| CreateView create view based on indicated Mysqlx::Crud::Find message. More... | |
| struct | Delete |
| Delete documents/rows from a Collection/Table. More... | |
| struct | DropView |
| DropView removing existing view. More... | |
| struct | Find |
| Find Documents/Rows in a Collection/Table. More... | |
| struct | Insert |
| Insert documents/rows into a collection/table. More... | |
| struct | Limit |
| struct | LimitExpr |
| LimitExpr, in comparison to Limit, is able to specify that row_count and offset are placeholders. More... | |
| struct | ModifyView |
| ModifyView modify existing view based on indicated Mysqlx::Crud::Find message. More... | |
| struct | Order |
| Sort order. More... | |
| struct | Projection |
| struct | Update |
| Update documents/rows in a collection/table. More... | |
| struct | UpdateOperation |
Enumerations | |
| enum | DataModel { DOCUMENT = 1 , TABLE = 2 } |
| DataModel to use for filters, names, ... More... | |
| enum | ViewAlgorithm { UNDEFINED = 1 , MERGE = 2 , TEMPTABLE = 3 } |
| ViewAlgorithm defines how MySQL Server processes the view. More... | |
| enum | ViewSqlSecurity { INVOKER = 1 , DEFINER = 2 } |
| 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 user who defined the VIEW. More... | |
| enum | ViewCheckOption { LOCAL = 1 , CASCADED = 2 } |
ViewCheckOption limits the write operations done on a VIEW (INSERT, UPDATE, DELETE) to rows in which the WHERE clause is TRUE More... | |
Basic CRUD operations.
The CRUD operations work in a similar fashion as the SQL statements below:
INSERT INTO ...SELECT ... FROM ...UPDATE ... SET ...DELETE FROM ...Also operation related to manipulation of views:
CREATE VIEW ... AS ...ALTER VIEW ... AS ...DROP VIEW ... 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 user who defined the VIEW.
| Enumerator | |
|---|---|
| INVOKER | use current user permissions |
| DEFINER | use permissions of the user who defined the VIEW |