I have a custom post type named file. I also have a custom post type named ‘circle’. The file post type has a custom relationship field called circles which allows for one or more circles to be selected and attached to the file post type.
Now I would like to query for files based on circle ids if another field called file_type is set to circle.
If I hard code this query it works exactly as I would expect.