Documentation Home
MySQL 9.4 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 41.2Mb
PDF (A4) - 41.3Mb
Man Pages (TGZ) - 262.8Kb
Man Pages (Zip) - 368.8Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb


MySQL 9.4 Reference Manual  /  ...  /  ALTER JSON DUALITY VIEW Statement

15.1.6 ALTER JSON DUALITY VIEW Statement

ALTER
    [ALGORITHM = {UNDEFINED | MERGE | TEMPTABLE}]
    [DEFINER = user]
    [SQL SECURITY { DEFINER | INVOKER }]
    JSON DUALITY VIEW view_name
    AS json_duality_select_statement
    [WITH [CASCADED | LOCAL] CHECK OPTON]

json_duality_select_statement: 
    SELECT json_duality_object_expression
    FROM [schema_name .] root_table_name [AS table_alias_name]

This statement updates a JSON duality view.

json_duality_select_statement follows the same rules as for CREATE JSON DUALITY VIEW. json_duality_object_expression is a value returned by JSON_DUALITY_OBJECT(). See the description of that function for information about its arguments.

For more information, see Section 27.7, “JSON Duality Views”.

This statement was added in MySQL 9.4.0.