如何制作条件 "if collection contains resourse with a TV that is equal to [[*id]]"

How to make condition "if collection contains resourse with a TV that is equal to [[*id]]"

我需要在 Modx 中满足以下条件 "if collection (resourse #10) contains resourse with a TV that is equal to [[*id]]" 然后 ...

我尝试了几个选项,但它们似乎都不起作用。

[[!pdoResources?
&parents=`10`
&depth=`1`
&tpl=`nomatter`
&limit=`1`
&includeTVs=`TV_NAME`
&where=`[ "TV":[[*id]] ]`
]]

[[+total:gt=`0`:then=`....`]]

https://docs.modx.pro/komponentyi/pdotools/snippetyi/pdoresources