Developer System Administrator DevOps Jahia 8.2

How to retrieve all contents having a specific mixin?

Question

I have defined a specific mixin in my definitions (CND file).

How can I retrieve all the nodes (or objects) having this specific mixin?

Answer

You can execute a JCR-SQL2 query, for example: 

SELECT * FROM [jmix:accessControlled]

To execute it, you can: