mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Added glob and like lookups - refs #23
This commit is contained in:
parent
630b40038e
commit
1c5977961f
2 changed files with 10 additions and 0 deletions
2
app.py
2
app.py
|
|
@ -329,6 +329,8 @@ def build_where_clause(args):
|
|||
'gte': '"{}" >= ?',
|
||||
'lt': '"{}" < ?',
|
||||
'lte': '"{}" <= ?',
|
||||
'glob': '"{}" glob ?',
|
||||
'like': '"{}" like ?',
|
||||
}[lookup]
|
||||
value = values[0]
|
||||
value_convert = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue