Doesn’t return anything for me… I try this since months. It simply doesn’t return anything. Null. Nil. Empty. Call it as you want.
I wanna have a structure like my clients numbers sorted. Let’s say i have the following todos in my Journal Today:
TODO Do something for him #Client102030
TODO Do another #Client102030
Journal Yesterday:
TODO Do that #Client102030
TODO Make something for that #Client123456
Journal last Wednesday:
TODO Blabla 1 #Client445566
Journal last Tuesday:
TODO Blabla 3 #Client445566
TODO Time for tee with another #Client203040
TODO Blabla 2 #Client445566
and so on and so forth.
Now i wanna have a page with a Query that gives me all tasks that show me all tasks in state “TODO”, “NOW”, “DOING”, “LATER” (so all flavours fit; of course i can only use one of both) and get them sorted by tag so i have an overwiew over the clients. So the answer to the query - regardless of the day - should look like this:
#Client102030
TODO Do something for him #Client102030
TODO Do another #Client102030
TODO Do that #Client102030
#Client123456
TODO Make something for that #Client123456
#Client203040
TODO Time for tee with another #Client203040
#Client445566
TODO Blabla 1 #Client445566
TODO Blabla 3 #Client445566
TODO Blabla 2 #Client445566
I don’t find any approach to reach this goal. In my opinion there are better ways out there than datalog.
So if anybody knows how to get it done, i would be really happy but at this point i’m seriuously not impressed with datalog. Even the advanced queries in the docs don’t work fully. It works only with tags if you provide them as property in the page.