mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
9 lines
198 B
Python
9 lines
198 B
Python
import sqlite3
|
|
db = sqlite3.connect("example.db")
|
|
|
|
# non standard
|
|
db.execute("some sql", (42,)) # $ getSql="some sql"
|
|
|
|
cursor = db.cursor()
|
|
cursor.execute("some sql", (42,)) # $ getSql="some sql"
|