I have a set of resources that each have different capabilities, which I stored as an array of strings. With this, I want to query only the Resources that can handle the item (represented by a token). The following query works as expected:
- WHERE "some_type" IN capabilities
But when I make the query dynamic, like so:
- WHERE Puller.some_type IN capabilities
I can't get it to work. Also tried:
- WHERE getlabel(Puller, "some_type") IN capabilities
which doesn't work either