kopia lustrzana https://github.com/simonw/datasette
add support for ?field__isnull=1
rodzic
f45ca30f91
commit
cdaa111e28
|
@ -46,6 +46,7 @@ def build_where_clauses(args):
|
|||
'lte': '"{}" <= :{}',
|
||||
'glob': '"{}" glob :{}',
|
||||
'like': '"{}" like :{}',
|
||||
'isnull': '"{}" is null',
|
||||
}[lookup]
|
||||
numeric_operators = {'gt', 'gte', 'lt', 'lte'}
|
||||
value_convert = {
|
||||
|
|
Ładowanie…
Reference in New Issue