mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Added 'not like' table filter, refs #750
This commit is contained in:
parent
4df1b4d8b0
commit
b3aa5f4313
3 changed files with 8 additions and 0 deletions
|
|
@ -32,6 +32,8 @@ import pytest
|
|||
['"foo" like :p0', '"foo" like :p1'],
|
||||
["2%2", "3%3"],
|
||||
),
|
||||
# notlike:
|
||||
((("foo__notlike", "2%2"),), ['"foo" not like :p0'], ["2%2"],),
|
||||
(
|
||||
(("foo__isnull", "1"), ("baz__isnull", "1"), ("bar__gt", "10")),
|
||||
['"bar" > :p0', '"baz" is null', '"foo" is null'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue