Permalink
Browse files

fixed typo'd variable name and some cf syntax errors

  • Loading branch information...
1 parent b0cdc0e commit 12c7e3daec54b58a59ac324e1f0f64e7f41e8ed2 @atuttle 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

2 comments on commit 12c7e3d

Egads. Thanks Adam.

Owner

atuttle replied May 15, 2012

You're welcome. It was, like, 10 hours of work.

Please sign in to comment.