pk__notin= filter, closes #614

This commit is contained in:
Simon Willison 2019-11-03 20:11:55 -08:00
commit 9db22cdf18
3 changed files with 21 additions and 0 deletions

View file

@ -228,6 +228,9 @@ You can filter the data returned by the table based on column values using a que
``?column__in=["value","value,with,commas"]``
``?column__notin=value1,value2,value3``
Rows where column does not match any of the provided values. The inverse of ``__in=``. Also supports JSON arrays.
``?column__arraycontains=value``
Works against columns that contain JSON arrays - matches if any of the values in that array match.