mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Allow EXPLAIN WITH... - closes #583
This commit is contained in:
parent
a314b76186
commit
fffd69ec03
2 changed files with 6 additions and 0 deletions
|
|
@ -167,6 +167,8 @@ allowed_sql_res = [
|
|||
re.compile(r"^explain select\b"),
|
||||
re.compile(r"^explain query plan select\b"),
|
||||
re.compile(r"^with\b"),
|
||||
re.compile(r"^explain with\b"),
|
||||
re.compile(r"^explain query plan with\b"),
|
||||
]
|
||||
disallawed_sql_res = [(re.compile("pragma"), "Statement may not contain PRAGMA")]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue