Skip to content

Commit

Permalink
Update 01-quickstart-sqlite.mdx (#6590)
Browse files Browse the repository at this point in the history
Small typo
  • Loading branch information
logz254 authored Jan 13, 2025
1 parent b686741 commit 580defc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/100-getting-started/01-quickstart-sqlite.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ npx tsx script.ts

</CodeWithResult>

This time, you're seeing two `User` objects being printed. Both of them have a `posts` field (which is empty for `"Alice"` and populated with a single `Post` object for `"Bob"`) that represents the `Post` records associated with them.
This time, you're seeing two `User` objects being printed. Both of them have a `posts` field (which is empty for `"Alice"` and populated with two `Post` objects for `"Bob"`) that represents the `Post` records associated with them.

Notice that the objects in the `usersWithPosts` array are fully typed as well. This means you will get autocompletion and the TypeScript compiler will prevent you from accidentally typing them.

Expand Down

0 comments on commit 580defc

Please sign in to comment.