This is not currently supported in getResources. The TV’s are not joined and thus you cannot use that condition in the where clause. Others have requested this feature and it will be added soon. That said, I must still warn you that this will be very inefficient because unlike the datetime fields of the Resource (like publishedon), TV values are not indexed for this purpose. IOW, it will require row scanning each TV value to make the comparison.