I’ve been a developer for 30 years. I’ve used SQL most of that time. When I first discovered Dataview, I was excited because I thought I could use my knowledge of SQL to create elaborate reports. But I quickly learned that knowledge of SQL probably hurts me here. Aside from sharing a few keywords, SQL and Dataview have nothing in common. So I ignored all my SQL knowledge and took another look at it.
After understanding some basics, I learned some basic queries that improved the context I could give to my notes. I love that I can automatically see all related tasks in a note with a query built into the template. So awesome.
Here’s my problem. I’m a documentation reader. I love man pages. I read the instructions. I’ve read through a lot of the documentation for Dataview.
Before I continue, I must say that I’ve really been impressed with the documentation of Obsidian and almost all contrib plugins. I also love that the documentation is linked to in the plugin overview pages.
So while there is a lot of documentation for Dataview, I haven’t found the thing I need most, which is a language reference. There are tons of example queries out therer, but I have not found documentation that explains in full stuff like language keywords (WHERE, TASKS, GROUP BY, FROM, SORT, etc. These are all SQL keywords as well, but they mostly don’t mean the same thing in Dataview. So where can I find out all keywords and what they mean? Another big one is searchable fields. I know I can use properties of the file object. I can use file.frontmatter values as well. I recently learned that I can do a TASKS query, but I can’t find a way to search on the ‘completed on’ data value (provided by the tasks plugin).
I did find an example of what I’m talking about. Here’s a link to available file property values. This is the type of documentation I’m talking about.
How can I get this same level of clarity on the rest of available fields and the core language syntax.
Thanks