Hi all,
I am new to Obsidian and dataview.
I am currently investigating using dataviewjs to extract the notes contains a certain string in a field.
For example, I have to extract all the notes with Name contains string “John”.
It might be Name :: John 123/ Name :: John abc/ Name :: Johnny
I am currently using
dv.list(dv.pages("").where(k => k.name.includes("John")))
But it prompted me the error:
Evaluation Error: TypeError: Cannot read property ‘includes’ of undefined at eval
May I have your help on this?
Thank You so much