mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
arraynotcontains filter, closes #1132
This commit is contained in:
parent
8ae0f9f7f0
commit
4c25b035b2
3 changed files with 39 additions and 4 deletions
|
|
@ -267,7 +267,12 @@ You can filter the data returned by the table based on column values using a que
|
|||
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.
|
||||
Works against columns that contain JSON arrays - matches if any of the values in that array match the provided value.
|
||||
|
||||
This is only available if the ``json1`` SQLite extension is enabled.
|
||||
|
||||
``?column__arraynotcontains=value``
|
||||
Works against columns that contain JSON arrays - matches if none of the values in that array match the provided value.
|
||||
|
||||
This is only available if the ``json1`` SQLite extension is enabled.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue