From 485f6bb15e95e7e7718078708547abe2060cfbca Mon Sep 17 00:00:00 2001 From: Somo Date: Fri, 2 Jun 2017 18:31:18 -0500 Subject: [PATCH] set: change example snip from `af.database` to `db` Inline with new api --- docs/3-retrieving-data-as-lists.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/3-retrieving-data-as-lists.md b/docs/3-retrieving-data-as-lists.md index 74c30cac6..a69807b18 100644 --- a/docs/3-retrieving-data-as-lists.md +++ b/docs/3-retrieving-data-as-lists.md @@ -125,7 +125,7 @@ items.push({ name: newName }); Use the `set()` method to update existing items. ```ts -const items = af.database.list('/items'); +const items = db.list('/items'); // to get a key, check the Example app below items.set('key-of-some-data', { size: newSize }); ```