Last active
September 13, 2019 20:44
-
-
Save JeremyCaney/ec131de46fda39989c2ef625058fff67 to your computer and use it in GitHub Desktop.
Adobe Lightroom Classic: List folders with image count, optionally filtered by rating
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select pathFromRoot, | |
count(*) | |
from AgLibraryFile files | |
join Adobe_images images | |
on files.id_local = images.rootFile | |
join AgLibraryFolder folders | |
on files.folder = folders.id_local | |
where rating >= 0 | |
group by pathFromRoot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment