blacksmithgu / obsidian-dataview Public
generated from obsidianmd/obsidian-sample-pluginNew issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to get repeating key:: values as a list? #222
Comments
|
Sure, seems reasonable - will add to the next release. |
|
Specially the list or table view would be great in this regards. An array is not much use in my use-case. Something like this : subject:: Talked to [[John]] about [[project A]] and we decided to postpone initial release for 1 week. On some days I will have 10 or more "subjects:: " in 1 daily file. I would like to add a query to the pages [[John]] and [[project A]] so I can see in one glance all the communication/decisions (subjects::) I had with John or about project A. Currently that does not work using dataview, I use the regular ```query for that, but dataview is way nicer in formatting and also offers more features like extra filtering or limiting the number of results. So this would be extremely helpfull for my workflow ... but less so when in an array. Thanks ... |
|
This would be really cool, can't comment on the implementation but the idea to dump entries in the daily file and then aggregate or just list would be awesome |
|
Added for next release 0.3.10. Repeated keys are aggregated into a Dataview list. |
|
@blacksmithgu Thank you so much for this wonderful little update. This enables a lot of tracking without changing the structure of my old notes (since 2006). This is by far my favourite plugin! |
|
@rishifter Apparently this is fixed now but when I try the following query ... and I have daily note with the following ... subject:: Talked to [[Jane Doe]] about something The query returns nothing... I guess I do something wrong? |
|
@jaroet I think that's how contains() works with lists already. It doesn't search inside list items and only matches exact items so |
|
So with this new functionality if I wanted to place a dataview query under a personal reference to capture all of their records (i.e quotes) how would I do that? At the moment I have something like this in my daily note or other reference
Within my Vince Miller quote I would now expect to place a |
|
@Xtremefaith This functionality has been in for a while, but you can get all quotes in your file doing something like |
|
How would you dynamically pull all quotes from within a single page as opposed to all pages within a folder? In other words, how would you format in your example, @blacksmithgu of: Use Case |
|
You can use flatten - |
I'm using inline tags as key:: value to track list of things I watch in my dailies, something like
#watched:: School of Rock. However, if there are multiple things I've watched on the same day, there are multiple such entries in the same file and my Watched log only picks up the last one. I understand that this works like a variable assignment overriding the previous values. Is there some way to aggregate the values together and extract an array or list if the same key has multiple values within the same file?The text was updated successfully, but these errors were encountered: