I just released another API function: update
.
This allows you to update metadata in your scripts, dataviewjs blocks, templates… you name it.
Repository: GitHub - chhoumann/MetaEdit: MetaEdit for Obsidian
Here’s a demo. You can get the dataviewjs block code here.