anchor.diff:    }
   }
   
  +/// Delete all posts in collection "posts"
   class DeletePosts extends Vane {
     Future main() {
  +    log.info("Guestbook : DeletePosts");
  +    
       mongodb.then((mongodb) {
         var coll = mongodb.collection(collectionName);
         coll.remove().then((data) {
  -        log.info(data.toString());
  +        log.info("Removed ${data["n"]} posts");
  +        log.info("${data}");
           close("Removed ${data["n"]} posts");
         }).catchError((e) {
  -        log.warning(e.toString());
  +        log.warning("Unable to delete posts: ${e}");
           close("Unable to delete posts");
         });
       }).catchError((e) {
  -      log.warning(e.toString());
  +      log.warning("Unable to delete posts: ${e}");
         close("Unable to delete posts");
       });
       
  
positive.code:   }
  }
  
  class SavePost extends Vane {
    Future main() {
      mongodb.then((mongodb) {
        var coll = mongodb.collection(collectionName);
        coll.insert({"name": json["name"], "message": json["message"]}).then((data) {
          log.info(data.toString());
          close("Added post: $json");
        }).catchError((e) {
          log.warning(e.toString());
          close("Unable to save post");
        });
      }).catchError((e) {
        log.warning(e.toString());
        close("Unable to save post");
      });
      
  
negative.code: 
  String collectionName = "posts";
  
  /// Find all posts in collection "posts"
  class GetAllPosts extends Vane {
    Future main() {
      log.info("Guestbook : GetAllPosts");
      
      mongodb.then((mongodb) {
        var coll = mongodb.collection(collectionName);
        coll.find().toList().then((data) {
          log.info("Got ${data.length} post(s)");
          log.info("${data}");
          close(data);
        }).catchError((e) {
          log.warning("Unable to get post(s): ${e}");
          close(new List());
        });
      }).catchError((e) {
        log.warning("Unable to get post(s): ${e}");
        close(new List());
      });
      
  