Skip to content
Browse files

Update by rewrite version of sample.js.

  • Loading branch information...
1 parent 3f4a829 commit b172b8affd2f87ee9ab2e043b0ed02298481d662 @t-iida committed May 11, 2011
Showing with 0 additions and 11 deletions.
  1. +0 −11 sample.js
View
11 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.

0 comments on commit b172b8a

Please sign in to comment.
Something went wrong with that request. Please try again.