We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5eda23 commit 48ca2e0Copy full SHA for 48ca2e0
src/cs50/sql.py
@@ -146,6 +146,8 @@ def process(value):
146
return process(value)
147
148
# Allow only one statement at a time
149
+ # SQLite does not support executing many statements
150
+ # https://docs.python.org/3/library/sqlite3.html#sqlite3.Cursor.execute
151
if len(sqlparse.split(text)) > 1:
152
raise RuntimeError("too many statements at once")
153
0 commit comments