Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed invalid examples

  • Loading branch information...
commit 154790c433a7b18117d0d11664c8d07ffd32d586 1 parent 2f9a046
Russ Bradberry devdazed authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 Readme.md
8 Readme.md
Source Rendered
@@ -95,8 +95,8 @@ If you do not want to use CQL, you can make calls using the thrift driver
95 95 }
96 96
97 97 //get what we just put in
98   - //the driver will return a Helenus.Row object just like CQL
99   - cf.get('foo', {consistency:Helenus.ConsistencyLevel.ONE} function(err, row){
  98 + //the driver will return a helenus.Row object just like CQL
  99 + cf.get('foo', {consistency:helenus.ConsistencyLevel.ONE} function(err, row){
100 100 if(err){
101 101 throw(err);
102 102 }
@@ -184,7 +184,7 @@ columns x through y, it returns a Helenus row object of columns that match the s
184 184
185 185 ### row.nameSlice(start, finish)
186 186
187   -Slices the columns based on part of their column name. returns a helenus row of columns
  187 +Slices the columns based on part of their column name. returns a Helenus row of columns
188 188 that match the slice
189 189
190 190 results.forEach(function(row){
@@ -210,7 +210,7 @@ Columns are returned as objects with the following structure:
210 210 Helenus supports using a custom consistency level. By default, when using the thrift client reads and writes will both use `QUORUM`. When using the thrift driver, you simply pass a custom level in the options:
211 211
212 212 ```javascript
213   -cf.insert(key, values, {consistency : Helenus.ConsistencyLevel.ANY}, callback);
  213 +cf.insert(key, values, {consistency : helenus.ConsistencyLevel.ANY}, callback);
214 214 ```
215 215
216 216

0 comments on commit 154790c

Please sign in to comment.
Something went wrong with that request. Please try again.