Skip to content

Instantly share code, notes, and snippets.

View damonx's full-sized avatar
:octocat:
Coding

Damon Xu damonx

:octocat:
Coding
View GitHub Profile
@floriankraft
floriankraft / JcrQueryLibrary.md
Last active April 5, 2024 14:09
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