mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Python: Add test for missing .executescript SQL method
This commit is contained in:
@@ -6,6 +6,8 @@ db.execute("some sql", (42,)) # $ getSql="some sql"
|
||||
|
||||
cursor = db.cursor()
|
||||
cursor.execute("some sql", (42,)) # $ getSql="some sql"
|
||||
cursor.executescript("sql") # $ MISSING: getSql="sql"
|
||||
cursor.executescript(sql_script="sql") # $ MISSING: getSql="sql"
|
||||
|
||||
import sqlite3.dbapi2
|
||||
conn = sqlite3.dbapi2.connect()
|
||||
|
||||
Reference in New Issue
Block a user