Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

README fix #1

Merged
1 commit merged into from
Oct 29, 2010
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ Opening Connections

or

$conn = new Connection('Keyspace1', $servers=array('host' => '192.168.2.1', 'port' => 9160));
$servers[0]['host'] = '127.0.0.1';
$servers[0]['port'] = '9160';
$conn = new Connection('Keyspace1', $servers);

Create a column family object
-----------------------------

$users = new CassandraCF($conn, 'Standard1'); // ColumnFamily
$super = new CassandraCF($conn' 'Super1'); // SuperColumnFamily
$users = new ColumnFamily($conn, 'Standard1'); // ColumnFamily
$super = new ColumnFamily($conn' 'Super1'); // SuperColumnFamily

Inserting
---------
Expand Down