Skip to content

Commit 4c2b40e

Browse files
authored
fix(data): update documentation for list items (#8393)
1 parent a1bf07f commit 4c2b40e

File tree

1 file changed

+1
-1
lines changed
  • src/pages/[platform]/build-a-backend/data/query-data

1 file changed

+1
-1
lines changed

src/pages/[platform]/build-a-backend/data/query-data/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ import { type Schema } from '@/amplify/data/resource';
5656

5757
const client = generateClient<Schema>();
5858

59-
// list all items
59+
// list items
6060
const { data: todos, errors } = await client.models.Todo.list();
6161

6262
// get a specific item

0 commit comments

Comments
 (0)