mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
10 lines
277 B
Python
10 lines
277 B
Python
from hdbcli import dbapi
|
|
|
|
conn = dbapi.connect(address="hostname", port=300, user="username", password="password")
|
|
cursor = conn.cursor()
|
|
|
|
cursor.execute("some sql", (42,)) # $ getSql="some sql"
|
|
cursor.executemany("some sql", (42,)) # $ getSql="some sql"
|
|
|
|
cursor.close()
|