View: nornix_site.vcontents

Structure
NameTypeNullKeyDefaultExtraComment
Handlervarchar(64)NO
DatamediumblobYES
TSbigint(10)NO0
ParsesPathtinyint(1) unsignedNO0
Blockvarchar(16)NOcontent
ScripttextYES
Typetinyint(3) unsignedYES0
ContentTypeNoint(10) unsignedNO0
DocumentNoint(10) unsignedNO0
Information
AlgoritmUpdateable
UNDEFINED YES
Explain
IdSelect typeTableTypePossible keysKeyRefRowsExtra
1SIMPLEcALL48Using where
1SIMPLEcteq_refPRIMARYPRIMARYnornix_site.c.ContentTypeNo1
1SIMPLEteq_refBlockBlocknornix_site.c.Block1
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER 
VIEW `nornix_site`.`vcontents` AS 
(select `ct`.`Handler` AS `Handler`,
`c`.`Data` AS `Data`,
unix_timestamp(`c`.`TS`)
AS `TS`,
`ct`.`ParsesPath` AS `ParsesPath`,
`c`.`Block` AS `Block`,
`t`.`Script` AS `Script`,
`t`.`Type` AS `Type`,
`c`.`ContentTypeNo` AS `ContentTypeNo`,
`c`.`DocumentNo` AS `DocumentNo` 
from ((`nornix_site`.`content` `c` join `nornix_system`.`contenttype` `ct` on ((`c`.`ContentTypeNo`
= `ct`.`No`)))
left join `nornix_site`.`blocktemplate` `t` on ((`c`.`Block` = `t`.`Block`)))
where (`c`.`Version` = 0))