Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable "explain" and "explain query plan" for CTEs #583

Closed
simonw opened this issue Oct 6, 2019 · 1 comment
Closed

Enable "explain" and "explain query plan" for CTEs #583

simonw opened this issue Oct 6, 2019 · 1 comment

Comments

@simonw
Copy link
Owner Author

@simonw simonw commented Oct 6, 2019

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 = [(re.compile("pragma"), "Statement may not contain PRAGMA")]

simonw added a commit that referenced this issue Oct 7, 2019
simonw added a commit that referenced this issue Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant