is there a way to query all empty pages? And is there a way to query based on a missing property? E.g. if I have a property “note-type”, can I query all pages where this property is either empty or not even there yet (i.e. the “note-type::” is not written on the page)
One of the main reasons for this is that I don’t create everything from the Journal pages – for certain notes, I like to elaborate inside the pages themselves. And when I do and create links from there, it would feel clunky to always indent those new pages under something like #inbox or #fleeting. So being able to query empty pages in either one of those two ways would help a lot, but I wasn’t able to find a way
Its an interesting problem because as I understand it if you create a link eg. [[page1]] but never go to page1 and add any blocks then page1.md will not physically exist until such time as you add content to page1. However in this situation page1 will be included in the ‘All Pages’ list of pages (with back links shown as 1).
So the query would need to know that although there is no physical page1 that it is an empty page as far as Logseq’s database is concerned.
Its actually good that Logseq does not create a physical file as it saves on having lots of unnecessary files.
I see, thank you!
I think the best solution for me is using block properties to mark blocks including links to any new pages for further processing, inspired by @thatgothlibrarian’s workflow