SELECT widget_page.*,
node.*
,
permission.cache_value AS node_permission_cache
FROM `xf_widgetframework_widget_page` AS widget_page
INNER JOIN `xf_node` AS node ON (node.node_id = widget_page.node_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = widget_page.node_id)
WHERE (widget_page.node_id = 314)
Run Time: 0.000464
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | widget_page | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |