mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
parent
bfb4e45a7b
commit
cca8bf36fe
1 changed files with 2 additions and 0 deletions
|
|
@ -119,6 +119,8 @@ class InvalidSql(Exception):
|
|||
|
||||
allowed_sql_res = [
|
||||
re.compile(r'^select\b'),
|
||||
re.compile(r'^explain select\b'),
|
||||
re.compile(r'^explain query plan select\b'),
|
||||
re.compile(r'^with\b'),
|
||||
]
|
||||
disallawed_sql_res = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue