How to select notes where there is a certain inline field

In my daily notes I have a sleep:: field
by request

LIST sleep
FROM "Daily notes"

I get all the notes from the folder and if there is a field sleep:: then the value of this field, and I only need notes where this field is, how to do it ?

The query below should do the trick

```
LIST sleep
WHERE sleep
FROM "Daily notes"
```

you have a little mistake
that is correct

LIST sleep 
FROM "Daily notes"
WHERE sleep 

Hehe… You’re very correct @nilbo I’m on mobile, but that was almost embarrassing. :smiley:

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