Products TV + Collections : how to filter by stock?


I have built my products catalog with the products TV + collections option.
I wonder how to filter the result by stock value.
To be clear : I want to exclude all product out of stock within my pdoResources request :


There is the &where parameter but how to use the stock value stored in Commerce ?
On the Commerce doc, there is the &where parameter with commerce.get_products snippet but is it possible to use it with pdoResources ?