Skip to content

Commit 298111f

Browse files
committed
Change wording for find-all
1 parent 6c17ce0 commit 298111f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

snippets/fetching-data/query/old.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
const users = await store.query('user', { filter: { name: 'John' } });
1+
const users = await this.store.query('user', { filter: { name: 'John' } });
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
title: findAll
22
description: |
3-
There is no direct replacement for <code>findAll</code>, you should just use <code>query</code> without options instead.
3+
There is no direct replacement for <code>findAll</code>, you can use <code>query</code> without extra options instead. Here is how to achieve exact <code>findAll</code> behavior:

0 commit comments

Comments
 (0)