mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
7 lines
226 B
Python
7 lines
226 B
Python
# taken from https://mysqlclient.readthedocs.io/user_guide.html#some-examples
|
|
import MySQLdb
|
|
db=MySQLdb.connect(passwd="moonpie",db="thangs")
|
|
|
|
c=db.cursor()
|
|
max_price=5
|
|
c.execute("some sql", (max_price,)) # $getSql="some sql" |