Skip to content

Commit 2697fcd

Browse files
authored
Update derived loader example to be clearer (#509)
1 parent 12077ec commit 2697fcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/pages/en/developing/assemblyscript-api.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,8 @@ The following code will load the `Token` entity that the `Holder` entity was der
321321

322322
```typescript
323323
let holder = Holder.load('test-id')
324-
// Load the Token entity that the Holder entity was derived from
325-
let token = holder.tokens.load()
324+
// Load the Token entities associated with a given holder
325+
let tokens = holder.tokens.load()
326326
```
327327

328328
#### Updating existing entities

0 commit comments

Comments
 (0)