Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update to README to reflect new changes.

  • Loading branch information...
commit 3e0c3cf82387dbf935af9be25e39c468c7065d3e 1 parent 6e5c0fd
Todd Anderson authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 README
View
7 README
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.