📜  python cassandra - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:48.767000             🧑  作者: Mango

代码示例1
from cassandra.cluster import Cluster

cluster = Cluster() # To connect to localhost
cluster = Cluster(['192.168.0.1', '192.168.0.2']) # To connect to any one of these possible IPs.