Permalink
Browse files

Merge pull request #27 from atuttle/develop

fixed typo'd variable name and some cf syntax errors
  • Loading branch information...
2 parents b0cdc0e + 12c7e3d commit 846b320517173004cd7045ce338ff9c6376d683c @marcesher committed May 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.textile
View
@@ -46,13 +46,13 @@ col.save( my_struct );
//query
result = col.query().startsWith('name','Orc').find(limit=20);
-writeOutput("Found #results.size()# of #results.totalCount()# Orcs");
+writeOutput("Found #result.size()# of #result.totalCount()# Orcs");
//use the native mongo cursor. it is case sensitive!
cursor = result.asCursor();
while( cursor.hasNext() ){
thisOrc = cursor.next();
- writeOutput(" name = #thisOrc['name'] <br>");
+ writeOutput(" name = #thisOrc['name']# <br>");
}
//use a ColdFusion array of structs. this is not case sensitive

0 comments on commit 846b320

Please sign in to comment.