Dataview Query to list all lines of the vault containing the searched string

Things I have tried

New to Obsidian I’m starting with Dataview. My goal is to insert a query in the template of my Daily Notes, which lists all the lines of my vault which contain the date of the day (the date of the daily note), to have a “recap” of all that concerns the day of today.
I have already succeeded in listing all the unfinished tasks containing the current date:

dv.taskList(dv.pages().file.tasks
	.where(t => !t.completed)
	.where(t => t.text.includes("{{date:YYYY-MM-DD}}")))

(When the daily note is created each day, the query is automatically completed by replacing YYYY-MM-DD with the current date)

What I’m trying to do

But I can’t manage to do the same thing by not only displaying the tasks that contain the current date, but also the lines that are not tasks.

For example:

If in a note1 I write:

  • [ ] Think about sending the package on 2023-01-27.

In a note2:

  • [ ] Call John on 2023-01-27 for projectX.

In a note3:
I had the chance to meet many people in New York.
Mike is a very good friend, met in March 2020 at a party. His birthday is 2023-01-27.
I realized that night that I really like pop music.

So I want that when I create the daily note of January 27, 2023, the query shows me:

Note1
- [ ] Think about sending the package on 2023-01-27.
Note2
- [ ] Call John on 2023-01-27 for projectX.
Note3
Mike is a very good friend, met in March 2020 at a party. His birthday is 2023-01-27.

Thank you very much for your help, I hope my question is clear!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.