Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions docs/content/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,13 @@ async def main() -> None:
asyncio.run(main())
```

{{< callout type="info" >}}
The `detect_types=sqlite3.PARSE_DECLTYPES` above is not needed for this schema,
but it is what makes generated converters work once your tables use dates,
decimals, booleans, or blobs. See
[SQLite type conversion](/docs/guide/sqlite-type-conversion).
{{< /callout >}}

{{< /tab >}}

{{< tab name="sqlite3" >}}
Expand All @@ -545,17 +552,17 @@ for user in query.list_users(conn):
print(user.name)
```

{{< /tab >}}

{{< /tabs >}}

{{< callout type="info" >}}
The `detect_types=sqlite3.PARSE_DECLTYPES` above is not needed for this schema,
but it is what makes generated converters work once your tables use dates,
decimals, booleans, or blobs. See
[SQLite type conversion](/docs/guide/sqlite-type-conversion).
{{< /callout >}}

{{< /tab >}}

{{< /tabs >}}

## Next steps

- Work through the [Guide](/docs/guide) - configuration, drivers, model types,
Expand Down
Loading