Permalink
Browse files

update readme

  • Loading branch information...
1 parent 24899b5 commit e3031e13eb7717dd60bf2046977a83df5f4b49e8 @devdazed devdazed committed Mar 22, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 Readme.md
View
@@ -52,10 +52,13 @@
//to interpolate into the format string, the last is the callback
//for formatting specific see `http://nodejs.org/docs/latest/api/util.html#util.format`
//results is an array of row objects
-
+
pool.cql("SELECT '%s' FROM '%s' WHERE key='%s'", ['col','cf_one','key123'], function(err, results){
console.log(err, results);
});
+
+ //NOTE:
+ //you can also use the ? as a placeholder. eg: "SELECT ? FROM '?' WHERE key='?'"
}
});
```

0 comments on commit e3031e1

Please sign in to comment.