From b172b8affd2f87ee9ab2e043b0ed02298481d662 Mon Sep 17 00:00:00 2001 From: Takuya Iida Date: Wed, 11 May 2011 23:20:57 +0900 Subject: [PATCH] Update by rewrite version of sample.js. --- sample.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/sample.js b/sample.js index 854786e..c1d3233 100644 --- a/sample.js +++ b/sample.js @@ -20,7 +20,6 @@ for(idx = 0; idx < 10; idx++) { collection.insert(createDoc(idx)); } -// var document = BSON.from(collection.find()); var documents = collection.find(); while(documents.hasNext()) { @@ -36,14 +35,4 @@ while(documents.hasNext()) { System.out.println(""); } - - - -// Print them all. -//while(documents.hasNext()) { -// var object = BSON.from(documents.next()); -// System.out.print("name = " + object.name); -// System.out.print(", age = " + object.age); -// System.out.println(", '" + eval(object.sayName)() + "'"); -//} // -- End of script.