1
12.88 ms
SELECT 1 FROM phpcr_workspaces WHERE name = ?
Parameters :
[
"default_live "
]
SELECT 1 FROM phpcr_workspaces WHERE name = 'default_live' ;
Copy
2
1.07 ms
SELECT prefix , uri FROM phpcr_namespaces
SELECT prefix , uri FROM phpcr_namespaces ;
Copy
3
8.07 ms
SELECT
phpcr_type_nodes . name AS node_name , phpcr_type_nodes . is_abstract AS node_abstract ,
phpcr_type_nodes . is_mixin AS node_mixin , phpcr_type_nodes . queryable AS node_queryable ,
phpcr_type_nodes . orderable_child_nodes AS node_has_orderable_child_nodes ,
phpcr_type_nodes . primary_item AS node_primary_item_name , phpcr_type_nodes . supertypes AS declared_super_type_names ,
phpcr_type_props . name AS property_name , phpcr_type_props . auto_created AS property_auto_created ,
phpcr_type_props . mandatory AS property_mandatory , phpcr_type_props . protected AS property_protected ,
phpcr_type_props . on_parent_version AS property_on_parent_version ,
phpcr_type_props . required_type AS property_required_type , phpcr_type_props . multiple AS property_multiple ,
phpcr_type_props . fulltext_searchable AS property_fulltext_searchable ,
phpcr_type_props . query_orderable AS property_query_orderable , phpcr_type_props . default_value as property_default_value ,
phpcr_type_childs . name AS child_name , phpcr_type_childs . auto_created AS child_auto_created ,
phpcr_type_childs . mandatory AS child_mandatory , phpcr_type_childs . protected AS child_protected ,
phpcr_type_childs . on_parent_version AS child_on_parent_version , phpcr_type_childs . default_type AS child_default_type ,
phpcr_type_childs . primary_types AS child_primary_types
FROM
phpcr_type_nodes
LEFT JOIN
phpcr_type_props ON phpcr_type_nodes . node_type_id = phpcr_type_props . node_type_id
LEFT JOIN
phpcr_type_childs ON phpcr_type_nodes . node_type_id = phpcr_type_childs . node_type_id
SELECT
phpcr_type_nodes . name AS node_name , phpcr_type_nodes . is_abstract AS node_abstract ,
phpcr_type_nodes . is_mixin AS node_mixin , phpcr_type_nodes . queryable AS node_queryable ,
phpcr_type_nodes . orderable_child_nodes AS node_has_orderable_child_nodes ,
phpcr_type_nodes . primary_item AS node_primary_item_name , phpcr_type_nodes . supertypes AS declared_super_type_names ,
phpcr_type_props . name AS property_name , phpcr_type_props . auto_created AS property_auto_created ,
phpcr_type_props . mandatory AS property_mandatory , phpcr_type_props . protected AS property_protected ,
phpcr_type_props . on_parent_version AS property_on_parent_version ,
phpcr_type_props . required_type AS property_required_type , phpcr_type_props . multiple AS property_multiple ,
phpcr_type_props . fulltext_searchable AS property_fulltext_searchable ,
phpcr_type_props . query_orderable AS property_query_orderable , phpcr_type_props . default_value as property_default_value ,
phpcr_type_childs . name AS child_name , phpcr_type_childs . auto_created AS child_auto_created ,
phpcr_type_childs . mandatory AS child_mandatory , phpcr_type_childs . protected AS child_protected ,
phpcr_type_childs . on_parent_version AS child_on_parent_version , phpcr_type_childs . default_type AS child_default_type ,
phpcr_type_childs . primary_types AS child_primary_types
FROM
phpcr_type_nodes
LEFT JOIN
phpcr_type_props ON phpcr_type_nodes . node_type_id = phpcr_type_props . node_type_id
LEFT JOIN
phpcr_type_childs ON phpcr_type_nodes . node_type_id = phpcr_type_childs . node_type_id
;
Copy
4
1.92 ms
SELECT
phpcr_type_nodes . name AS node_name , phpcr_type_nodes . is_abstract AS node_abstract ,
phpcr_type_nodes . is_mixin AS node_mixin , phpcr_type_nodes . queryable AS node_queryable ,
phpcr_type_nodes . orderable_child_nodes AS node_has_orderable_child_nodes ,
phpcr_type_nodes . primary_item AS node_primary_item_name , phpcr_type_nodes . supertypes AS declared_super_type_names ,
phpcr_type_props . name AS property_name , phpcr_type_props . auto_created AS property_auto_created ,
phpcr_type_props . mandatory AS property_mandatory , phpcr_type_props . protected AS property_protected ,
phpcr_type_props . on_parent_version AS property_on_parent_version ,
phpcr_type_props . required_type AS property_required_type , phpcr_type_props . multiple AS property_multiple ,
phpcr_type_props . fulltext_searchable AS property_fulltext_searchable ,
phpcr_type_props . query_orderable AS property_query_orderable , phpcr_type_props . default_value as property_default_value ,
phpcr_type_childs . name AS child_name , phpcr_type_childs . auto_created AS child_auto_created ,
phpcr_type_childs . mandatory AS child_mandatory , phpcr_type_childs . protected AS child_protected ,
phpcr_type_childs . on_parent_version AS child_on_parent_version , phpcr_type_childs . default_type AS child_default_type ,
phpcr_type_childs . primary_types AS child_primary_types
FROM
phpcr_type_nodes
LEFT JOIN
phpcr_type_props ON phpcr_type_nodes . node_type_id = phpcr_type_props . node_type_id
LEFT JOIN
phpcr_type_childs ON phpcr_type_nodes . node_type_id = phpcr_type_childs . node_type_id
SELECT
phpcr_type_nodes . name AS node_name , phpcr_type_nodes . is_abstract AS node_abstract ,
phpcr_type_nodes . is_mixin AS node_mixin , phpcr_type_nodes . queryable AS node_queryable ,
phpcr_type_nodes . orderable_child_nodes AS node_has_orderable_child_nodes ,
phpcr_type_nodes . primary_item AS node_primary_item_name , phpcr_type_nodes . supertypes AS declared_super_type_names ,
phpcr_type_props . name AS property_name , phpcr_type_props . auto_created AS property_auto_created ,
phpcr_type_props . mandatory AS property_mandatory , phpcr_type_props . protected AS property_protected ,
phpcr_type_props . on_parent_version AS property_on_parent_version ,
phpcr_type_props . required_type AS property_required_type , phpcr_type_props . multiple AS property_multiple ,
phpcr_type_props . fulltext_searchable AS property_fulltext_searchable ,
phpcr_type_props . query_orderable AS property_query_orderable , phpcr_type_props . default_value as property_default_value ,
phpcr_type_childs . name AS child_name , phpcr_type_childs . auto_created AS child_auto_created ,
phpcr_type_childs . mandatory AS child_mandatory , phpcr_type_childs . protected AS child_protected ,
phpcr_type_childs . on_parent_version AS child_on_parent_version , phpcr_type_childs . default_type AS child_default_type ,
phpcr_type_childs . primary_types AS child_primary_types
FROM
phpcr_type_nodes
LEFT JOIN
phpcr_type_props ON phpcr_type_nodes . node_type_id = phpcr_type_props . node_type_id
LEFT JOIN
phpcr_type_childs ON phpcr_type_nodes . node_type_id = phpcr_type_childs . node_type_id
;
Copy
5
125.94 ms
SELECT n0 . path AS n0_path , n0 . identifier AS n0_identifier , n0 . props AS n0_props FROM phpcr_nodes n0 WHERE n0 . workspace_name = ? AND n0 . type IN ('nt:unstructured' , 'rep:root' ) AND ((xpath_exists ('//sv:property[@sv:name="jcr:mixinTypes"]/sv:value[text()="sulu:page"]' , CAST (n0 . props AS xml ), ARRAY[ARRAY[ 'sv' , 'http://www.jcp.org/jcr/sv/1.0' ]] ) = 't' OR xpath_exists ('//sv:property[@sv:name="jcr:mixinTypes"]/sv:value[text()="sulu:home"]' , CAST (n0 . props AS xml ), ARRAY[ARRAY[ 'sv' , 'http://www.jcp.org/jcr/sv/1.0' ]] ) = 't' ) AND (((xpath_exists ('//sv:property[@sv:name="i18n:en-state"]/sv:value[text()="2"]' , CAST (n0 . props AS xml ), ARRAY[ARRAY[ 'sv' , 'http://www.jcp.org/jcr/sv/1.0' ]] ) = 't' OR (xpath ('//sv:property[@sv:name="i18n:en-shadow-on"]/sv:value[1]/text()' , CAST (n0 . props AS xml ), ARRAY[ARRAY[ 'sv' , 'http://www.jcp.org/jcr/sv/1.0' ]] ))[1] :: text = '1' ) AND xpath_exists ('//sv:property[@sv:name="i18n:en-navContexts"]/sv:value[text()="footer"]' , CAST (n0 . props AS xml ), ARRAY[ARRAY[ 'sv' , 'http://www.jcp.org/jcr/sv/1.0' ]] ) = 't' ) AND n0 . path LIKE '/cmf/website/contents/%' )) ORDER BY CAST ((xpath ('//sv:property[@sv:name="sulu:order"]/sv:value[1]/text()' , CAST (n0 . numerical_props AS xml ), ARRAY[ARRAY[ 'sv' , 'http://www.jcp.org/jcr/sv/1.0' ]] ))[1] :: text AS DECIMAL ) ASC , (xpath ('//sv:property[@sv:name="sulu:order"]/sv:value[1]/text()' , CAST (n0 . props AS xml ), ARRAY[ARRAY[ 'sv' , 'http://www.jcp.org/jcr/sv/1.0' ]] ))[1] :: text ASC
Parameters :
[
"default_live "
]
SELECT n0 . path AS n0_path , n0 . identifier AS n0_identifier , n0 . props AS n0_props FROM phpcr_nodes n0 WHERE n0 . workspace_name = 'default_live' AND n0 . type IN ('nt:unstructured' , 'rep:root' ) AND ((xpath_exists ('//sv:property[@sv:name="jcr:mixinTypes"]/sv:value[text()="sulu:page"]' , CAST (n0 . props AS xml ), ARRAY[ARRAY[ 'sv' , 'http://www.jcp.org/jcr/sv/1.0' ]] ) = 't' OR xpath_exists ('//sv:property[@sv:name="jcr:mixinTypes"]/sv:value[text()="sulu:home"]' , CAST (n0 . props AS xml ), ARRAY[ARRAY[ 'sv' , 'http://www.jcp.org/jcr/sv/1.0' ]] ) = 't' ) AND (((xpath_exists ('//sv:property[@sv:name="i18n:en-state"]/sv:value[text()="2"]' , CAST (n0 . props AS xml ), ARRAY[ARRAY[ 'sv' , 'http://www.jcp.org/jcr/sv/1.0' ]] ) = 't' OR (xpath ('//sv:property[@sv:name="i18n:en-shadow-on"]/sv:value[1]/text()' , CAST (n0 . props AS xml ), ARRAY[ARRAY[ 'sv' , 'http://www.jcp.org/jcr/sv/1.0' ]] ))[1] :: text = '1' ) AND xpath_exists ('//sv:property[@sv:name="i18n:en-navContexts"]/sv:value[text()="footer"]' , CAST (n0 . props AS xml ), ARRAY[ARRAY[ 'sv' , 'http://www.jcp.org/jcr/sv/1.0' ]] ) = 't' ) AND n0 . path LIKE '/cmf/website/contents/%' )) ORDER BY CAST ((xpath ('//sv:property[@sv:name="sulu:order"]/sv:value[1]/text()' , CAST (n0 . numerical_props AS xml ), ARRAY[ARRAY[ 'sv' , 'http://www.jcp.org/jcr/sv/1.0' ]] ))[1] :: text AS DECIMAL ) ASC , (xpath ('//sv:property[@sv:name="sulu:order"]/sv:value[1]/text()' , CAST (n0 . props AS xml ), ARRAY[ARRAY[ 'sv' , 'http://www.jcp.org/jcr/sv/1.0' ]] ))[1] :: text ASC ;
Copy
6
2.55 ms
SELECT path AS arraykey , id , path , parent , local_name , namespace , workspace_name , identifier , type , props , depth , sort_order
FROM phpcr_nodes WHERE workspace_name = ? AND (path = ? OR path = ? OR path = ? OR path = ? OR path = ? OR path = ? ) ORDER BY sort_order ASC
Parameters :
[
"default_live "
"/cmf/website/contents/kontakt "
"/cmf/website/contents/faq "
"/cmf/website/contents/kariera "
"/cmf/website/contents/blog "
"/cmf/website/contents/wybierz-klub "
"/cmf/website/contents/regulamin "
]
SELECT path AS arraykey , id , path , parent , local_name , namespace , workspace_name , identifier , type , props , depth , sort_order
FROM phpcr_nodes WHERE workspace_name = 'default_live' AND (path = '/cmf/website/contents/kontakt' OR path = '/cmf/website/contents/faq' OR path = '/cmf/website/contents/kariera' OR path = '/cmf/website/contents/blog' OR path = '/cmf/website/contents/wybierz-klub' OR path = '/cmf/website/contents/regulamin' ) ORDER BY sort_order ASC ;
Copy
7
0.62 ms
SELECT path , parent FROM phpcr_nodes WHERE parent IN (? , ? , ? , ? , ? , ? ) AND workspace_name = ? ORDER BY sort_order ASC
Parameters :
[
"/cmf/website/contents/kontakt "
"/cmf/website/contents/faq "
"/cmf/website/contents/kariera "
"/cmf/website/contents/blog "
"/cmf/website/contents/wybierz-klub "
"/cmf/website/contents/regulamin "
"default_live "
]
SELECT path , parent FROM phpcr_nodes WHERE parent IN ('/cmf/website/contents/kontakt' , '/cmf/website/contents/faq' , '/cmf/website/contents/kariera' , '/cmf/website/contents/blog' , '/cmf/website/contents/wybierz-klub' , '/cmf/website/contents/regulamin' ) AND workspace_name = 'default_live' ORDER BY sort_order ASC ;
Copy
8
10.36 ms
SELECT * FROM phpcr_nodes
WHERE path = ?
AND workspace_name = ?
ORDER BY depth , sort_order ASC
Parameters :
[
"/cmf/website/contents "
"default_live "
]
SELECT * FROM phpcr_nodes
WHERE path = '/cmf/website/contents'
AND workspace_name = 'default_live'
ORDER BY depth , sort_order ASC ;
Copy
9
4.32 ms
SELECT path , parent FROM phpcr_nodes WHERE parent IN (? ) AND workspace_name = ? ORDER BY sort_order ASC
Parameters :
[
"/cmf/website/contents "
"default_live "
]
SELECT path , parent FROM phpcr_nodes WHERE parent IN ('/cmf/website/contents' ) AND workspace_name = 'default_live' ORDER BY sort_order ASC ;
Copy