Skip to content

Instantly share code, notes, and snippets.

View xMilos's full-sized avatar
🏠
Working from home

Milosh Nikolikj xMilos

🏠
Working from home
View GitHub Profile
@xMilos
xMilos / JcrQueryLibrary.md
Created March 8, 2021 15:57 — forked from floriankraft/JcrQueryLibrary.md
Some useful JCR queries (XPATH, SQL2) for AEM/CQ development.

SQL2

All nodes with a specific name

SELECT * FROM [nt:unstructured] AS node
WHERE ISDESCENDANTNODE(node, "/search/in/path")
AND NAME() = "nodeName"

All pages below content path