blacksmithgu / obsidian-dataview

A data index and query language over Markdown files, for https://obsidian.md/.
https://blacksmithgu.github.io/obsidian-dataview/
MIT License
6.94k stars 411 forks source link

Dataview do not update results #2307

Open Mcezarf opened 5 months ago

Mcezarf commented 5 months ago

What happened?

Dataview does not update query results. For example: I have several notes about books I read. There is the "read" property as boolean on all notes. I run the following command:

                TABLE read as "Read" FROM "Books" 
                SORT title

and Dataview shows the correct result. Then I change the "read" property of one of the notes, changing it from true to false. When I re-execute the same command, Dataview does not update the results. It continues to show the results before the change I made. I don't know how to solve this problem. Need help.

DQL

TABLE read as "Read" FROM "Books" 
SORT title

JS

No response

Dataview Version

0.5.66

Obsidian Version

1.5.12

OS

MacOS

holroy commented 5 months ago

For quite a few versions there has been an issue related to caching of results which can be handled in various ways:

All of these variants has the net effect of rebuilding the query, where it then should use the last values available.