List all key/value pairs using DQL
What happened?
Can't query inline fields.
DQL
In the current file I have a line key:: value when I run the following query I get an empty result.
LIST
FROM [[]]
JS
No response
Dataview Version
latest
Obsidian Version
latest
OS
Linux
Can you describe what you expected as result? An example file with example input for testing would be great.
EDIT:
Looking through the Dataview docs, I see that I might have misunderstood the [[]] reference, as it appears that's just for finding links in the current file. I suppose all I need is to specify my file's path!
END EDIT
Running into the same problem here. Here's a small note that reproduces the problem and a screenshot of its render.
Note source:
---
foo: bar
---
```dataview
TABLE foo
FROM [[]]
```
Renders as:
I haven't worked on Obsidian plugins before, but if I can figure out how to debug I'll see what I can find.
I dont really get the point of this bug report. Do you try to find files with a certain custom property via a dataview query? If yes, please read the docs first before writing bug reports. Here is a example of how to find a file by a custom property:
Filecontent
---
foo: bar
---
```dataview
TABLE yo
FROM ""
WHERE foo ```
This content results into this
If you want to look for files with a custom property and a specific value, look into this doc.
@Rubinum the point is that I want to list all the key::value pairs. Use case: let's say I have some sort of collection of notes, e.g. a list of words with their definitions. I would like to list them all, and be able to sort in alphabetical order.