fixed example setup() call
This commit is contained in:
@@ -53,10 +53,10 @@ Getting Started
|
||||
|
||||
# see http://datastax.github.io/python-driver/api/cassandra/cluster.html for options
|
||||
# the list of hosts will be passed to create a Cluster() instance
|
||||
>>> connection.setup(['127.0.0.1'])
|
||||
>>> connection.setup(['127.0.0.1'], "cqlengine")
|
||||
|
||||
# if you're connecting to a 1.2 cluster
|
||||
>>> connection.setup(['127.0.0.1'], protocol_version=1)
|
||||
>>> connection.setup(['127.0.0.1'], "cqlengine", protocol_version=1)
|
||||
|
||||
#...and create your CQL table
|
||||
>>> from cqlengine.management import sync_table
|
||||
|
Reference in New Issue
Block a user