Permalink
Browse files

updated README file

  • Loading branch information...
1 parent fa1f875 commit fed6a855822d5f4cf8cb11613d98109fad42e9b5 @ostinelli committed Dec 19, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 examples/erlcassa_example.erl
View
@@ -53,7 +53,7 @@ $ sudo make install
### Using a Key Space
```erlang
-erlcassa_client:cql_execute(C, "USE test1;").
+{result, ok} = erlcassa_client:cql_execute(C, "USE test1;").
```
### Creating a Column Family
@@ -40,7 +40,7 @@ run() ->
{result, ok} = erlcassa_client:cql_execute(C, "CREATE KEYSPACE test1 WITH strategy_class = SimpleStrategy AND strategy_options:replication_factor = 1;"),
io:format("Created KeySpace test1~n"),
% use keyspace
- erlcassa_client:cql_execute(C, "USE test1;"),
+ {result, ok} = erlcassa_client:cql_execute(C, "USE test1;"),
% create column family
{result, ok} = erlcassa_client:cql_execute(C, "
CREATE COLUMNFAMILY testdata (

0 comments on commit fed6a85

Please sign in to comment.