Navigation Menu

Skip to content

Commit

Permalink
Update to README to reflect new changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Anderson committed Mar 19, 2010
1 parent 6e5c0fd commit 3e0c3cf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README
Expand Up @@ -185,9 +185,10 @@ contact.lastName = lastNameField.text;
contact.email = emailField.text;
contact.addEventListener( CouchActionType.SAVE, handleContactSave );
contact.addEventListener( CouchEvent.FAULT, handleContactFault );
contact.save();
contact.create();

[/code]

The save() method is used for Create and Update. The read() method Reads the document from the
database and populates the model. The remove() method Deletes the document from the database.
The create() method is used for Create and Update. The read() method Reads the document from the
database and populates the model. The update() method saves any changes to the database instance.
The remove() method Deletes the document from the database.

0 comments on commit 3e0c3cf

Please sign in to comment.