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  / ...  / INFORMATION_SCHEMA Tables  / INFORMATION_SCHEMA General Tables  /  The INFORMATION SCHEMA JSON_DUALITY_VIEWS Table

28.3.18 The INFORMATION SCHEMA JSON_DUALITY_VIEWS Table

TheJSON_DUALITY_VIEWS table provides information about JSON duality views accessible by the current user. There is one row in this table for each such view.

TheJSON_DUALITY_VIEWS table contains the columns listed here:

  • TABLE_CATALOG

    View catalog; this is alwaysdef.

  • TABLE_SCHEMA

    View schema.

  • TABLE_NAME

    View name.

  • DEFINER

    User who created the view.

  • SECURITY_TYPE

    One ofINVOKER orDEFINER.

  • JSON_COLUMN_NAME

    This is alwaysdata.

  • ROOT_TABLE_CATALOG

    Catalog of the root table; this is alwaysdef.

  • ROOT_TABLE_SCHEMA

    Schema of the root table.

  • ROOT_TABLE_NAME

    Name of the root table.

  • ALLOW_INSERT

    1 if inserts are allowed, otherwise0.

  • ALLOW_UPDATE

    1 if updates are allowed, otherwise0.

  • ALLOW_DELETE

    1 if deletes are allowed, otherwise0.

  • READ_ONLY

    1 if insert, update, or delete are not allowed, otherwise0. (In other words, this is1 only whenALLOW_INSERT,ALLOW_UPDATE, andALLOW_DELETE are all0.)

  • STATUS

    One ofvalid orinvalid.

The root table name and other information are shown only if the user has some type of privilege on the root table; the user must also haveSHOW VIEW andSELECT privileges on the view.

TheJSON_DUALITY_VIEWS table was added in MySQL 9.4.0.