Query Builder how to search for SCHEDULED or DEADLINE todos?

Hi all,

the new simple query builder is getting better and better and it is awesome.
I cannot find the way to select the todo which have the SCHEDULED or DEADLINE.

anybody knows how to do?

Thanks

I found no built-in solution, but a workaround:

{{query (and (task CANCELED TODO NOW LATER DONE DOING IN-PROGRESS WAITING CANCELLED WAIT) (or "SCHEDULED" "DEADLINE") (not (page <% current page %>)) )}}