Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed example in README

  • Loading branch information...
commit c310280a79a791adf650a2f0b564a7e4d5b1c3ac 1 parent ce87db5
goobsoft authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 README.TXT
6 README.TXT
@@ -62,11 +62,11 @@ Database db = s.getDatabase("foodb");
62 62
63 63 Document doc = db.getDocument("documentid1234");
64 64 doc.put("foo","bar");
65   -db.save(doc);
  65 +db.saveDocument(doc);
66 66
67 67 Document newdoc = new Document();
68   -doc.put("foo","baz");
69   -db.save(doc); // auto-generated id given by the database
  68 +newdoc.put("foo","baz");
  69 +db.saveDocument(newdoc); // auto-generated id given by the database
70 70
71 71 // Running a view
72 72

0 comments on commit c310280

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