Hello All,
I am using the baserow.io .
Suppose I have two table “actors” and “movies”. The actors table has a fiels that lists all the movies the actor has played.
I want to get via API the list of actors who are not in any movie. According to the documentation, I should use this URL:
https://api.baserow.io/api/database/rows/table/<actors table id>/?user_field_names=true&filter__movies__empty
But it returns an empty result, even if I know there are actors without movies. Conversely, if I try to list actors who have played in at least one movie, the api returns all rows, even those “empty” (https://api.baserow.io/api/database/rows/table/<actors table id>/?user_field_names=true&filter__movies__not_empty
).
E.g. given these actors:
[{'Movies': [{'id': 1, 'value': 'Blade Runner Final Cut'},
{'id': 52, 'value': "Ender's Game"}],
'Name': 'Harrison Ford'},
{'Movies': [{'id': 1, 'value': 'Blade Runner Final Cut'}],
'Name': 'Sean Young'},
{'Movies': [],
'Name': 'Camilla Belle'}]
With the empty filter I would have expected to get:
[{'Movies': [],
'Name': 'Camilla Belle'}]
While I have now:
[]
Am I doing something wrong, or have I encountered a bug?
Thanks for your help!