mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
New ?column__date=yyyy-mm-dd filter
This commit is contained in:
parent
1c6649b19b
commit
583b22aa28
3 changed files with 12 additions and 0 deletions
|
|
@ -60,6 +60,14 @@ import pytest
|
|||
['foo in (:p0, :p1, :p2)'],
|
||||
["1", "2", "3"]
|
||||
),
|
||||
# date
|
||||
(
|
||||
{
|
||||
"foo__date": "1988-01-01",
|
||||
},
|
||||
["date(foo) = :p0"],
|
||||
["1988-01-01"]
|
||||
),
|
||||
# JSON array variants of __in (useful for unexpected characters)
|
||||
(
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue