Skip to content

Commit 0e52c28

Browse files
authored
Merge pull request #1019 from somombo/patch-1
doc(list.set): change example snip from `af.database` to `db`
2 parents d5351b5 + 485f6bb commit 0e52c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/3-retrieving-data-as-lists.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ items.push({ name: newName });
125125
Use the `set()` method to update existing items.
126126

127127
```ts
128-
const items = af.database.list('/items');
128+
const items = db.list('/items');
129129
// to get a key, check the Example app below
130130
items.set('key-of-some-data', { size: newSize });
131131
```

0 commit comments

Comments
 (0)