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  / ...  / SQL Statements  / Data Definition Statements  /  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 VIEWview_name    ASjson_duality_select_statement    [WITH [CASCADED | LOCAL] CHECK OPTON]json_duality_select_statement:     SELECTjson_duality_object_expression    FROM [schema_name .]root_table_name [AStable_alias_name]

This statement updates a JSON duality view.

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

For more information, seeSection 27.7, “JSON Duality Views”.

This statement was added in MySQL 9.4.0.