Permalink
Browse files

Updated readme to list row.forEach wrapper function

  • Loading branch information...
1 parent 06a4e23 commit 2a10f9487d2219164ebee330271725183783c3ae @samal committed May 13, 2012
Showing with 13 additions and 0 deletions.
  1. +13 −0 Readme.md
View
@@ -156,6 +156,19 @@ This will return the column with a specific name
console.log(row.get('foo'));
});
+### row.forEach()
+
+This is wrapper function of Array.forEach which return name,value,ts,ttl of column from row as callback params.
+
+ results.foreach(function(row){
+ //all row of result
+ row.forEach(function(name,value,ts,tttl){
+ //all column of row
+ console.log(name,value,ts,ttl);
+ });
+
+ });
+
### row.slice(start, finish)
Slices columns in the row based on their numeric index, this allows you to get

0 comments on commit 2a10f94

Please sign in to comment.