Hi.
Queries in codeblocks format no. You can use inline queries:
## inline dql
`=this.file.link`
## inline js
`$=dv.span(dv.current())`
For the query in your example, you need to write it in js format (don’t ask me, I’m a zero in js) and place it as inline js query.
Another option is via embed blocks (or pages). You can create a page or a block (inclusive in the query page) and place it in the row as an embed/transcluded block:
![[page#^5c9e3d]]