mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
9 lines
212 B
Python
9 lines
212 B
Python
import phoenixdb
|
|
import phoenixdb.cursor
|
|
|
|
database_url = 'http://localhost:8765/'
|
|
conn = phoenixdb.connect(database_url, autocommit=True)
|
|
|
|
cursor = conn.cursor()
|
|
cursor.execute("some sql") # $ getSql="some sql"
|