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

Comments

@simonw

This comment has been minimized.

Copy link
Owner Author

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 simonw closed this in fffd69e Oct 6, 2019
simonw added a commit that referenced this issue Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.