mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
13 lines
327 B
Python
13 lines
327 B
Python
from cassandra.cluster import Cluster
|
|
|
|
cluster = Cluster(...)
|
|
session = cluster.connect()
|
|
|
|
session.execute("sql") # $ getSql="sql"
|
|
|
|
future = session.execute_async("sql") # $ constructedSql="sql"
|
|
future.result()
|
|
|
|
prepared = session.prepare("sql") # $ constructedSql="sql"
|
|
session.execute(prepared) # $ SPURIOUS: getSql=prepared
|