Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
fixed example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
goobsoft committed Sep 30, 2008
1 parent ce87db5 commit c310280
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.TXT
Expand Up @@ -62,11 +62,11 @@ Database db = s.getDatabase("foodb");

Document doc = db.getDocument("documentid1234");
doc.put("foo","bar");
db.save(doc);
db.saveDocument(doc);

Document newdoc = new Document();
doc.put("foo","baz");
db.save(doc); // auto-generated id given by the database
newdoc.put("foo","baz");
db.saveDocument(newdoc); // auto-generated id given by the database

// Running a view

Expand Down

0 comments on commit c310280

Please sign in to comment.