From 707fde60212fcb4e06306874b8603dbf9daf4f21 Mon Sep 17 00:00:00 2001 From: Joseph Schilz Date: Tue, 6 Sep 2016 08:34:03 -0700 Subject: [PATCH] Continue documentation. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 410cc2a..4f77d76 100644 --- a/README.md +++ b/README.md @@ -470,7 +470,7 @@ Retrieving an instance from the database: ``` // Retrieve the author with id 4, then log their name db.authors(4) - .get + .get() .then( function(author) { console.log(author.getFirstName()); @@ -481,10 +481,10 @@ db.authors(4) Deleting an instance from the database: ``` db.authors(4) - .delete + .delete() .then( function() { - console.log("Deleted an author." + console.log("Deleted an author.") } ); ```