Skip to content

Commit

Permalink
Fixes: README example.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamoB25 committed Apr 29, 2015
1 parent 3c73835 commit 533d06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ as well as what's planned for the upcoming releases.
$cluster = Cassandra::cluster() // connects to localhost by default
->build();
$keyspace = 'system';
$session = $cluster->connect($system); // create session, optionally scoped to a keyspace
$session = $cluster->connect($keyspace); // create session, optionally scoped to a keyspace
$statement = new Cassandra\SimpleStatement( // also supports prepared and batch statements
'SELECT keyspace_name, columnfamily_name FROM schema_columnfamilies'
);
Expand Down

0 comments on commit 533d06d

Please sign in to comment.