The JSON_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.
The JSON_DUALITY_VIEWS table contains
the columns listed here:
TABLE_CATALOGView catalog; this is always
def.TABLE_SCHEMAView schema.
TABLE_NAMEView name.
DEFINERUser who created the view.
SECURITY_TYPEOne of
INVOKERorDEFINER.JSON_COLUMN_NAMEThis is always
data.ROOT_TABLE_CATALOGCatalog of the root table; this is always
def.ROOT_TABLE_SCHEMASchema of the root table.
ROOT_TABLE_NAMEName of the root table.
ALLOW_INSERT1if inserts are allowed, otherwise0.ALLOW_UPDATE1if updates are allowed, otherwise0.ALLOW_DELETE1if deletes are allowed, otherwise0.READ_ONLY1if insert, update, or delete are not allowed, otherwise0. (In other words, this is1only whenALLOW_INSERT,ALLOW_UPDATE, andALLOW_DELETEare all0.)STATUSOne of
validorinvalid.
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 have SHOW VIEW and
SELECT privileges on the view.