Skip to content

Add example of SQLite table relationships#13309

Merged
sfshaza2 merged 6 commits intoflutter:mainfrom
harshyadavDeveloper:add-sqlite-relations-example
Apr 27, 2026
Merged

Add example of SQLite table relationships#13309
sfshaza2 merged 6 commits intoflutter:mainfrom
harshyadavDeveloper:add-sqlite-relations-example

Conversation

@harshyadavDeveloper
Copy link
Copy Markdown
Contributor

Description

Adds a small section demonstrating how to define relationships between tables in SQLite using foreign keys.

This enhances the existing tutorial by introducing a real-world use case without modifying the current flow of the guide.

Issues fixed by this PR

Closes #93073

PRs or commits this PR depends on

None

Presubmit checklist

@harshyadavDeveloper harshyadavDeveloper requested review from a team and sfshaza2 as code owners April 25, 2026 10:06
@google-cla
Copy link
Copy Markdown

google-cla Bot commented Apr 25, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a new section on using relationships between tables to the SQLite cookbook documentation. The review feedback suggests using the :::note container for consistency, adhering to the 80-character limit for semantic line breaks, and adding a note regarding the requirement to enable foreign key support in sqflite.

Comment thread src/content/cookbook/persistence/sqlite.md Outdated
Comment thread src/content/cookbook/persistence/sqlite.md Outdated
Comment thread src/content/cookbook/persistence/sqlite.md Outdated
harshyadavDeveloper and others added 5 commits April 25, 2026 15:43
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@sfshaza2
Copy link
Copy Markdown
Contributor

/gcbrun

Copy link
Copy Markdown
Contributor

@sfshaza2 sfshaza2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. thx!

@flutter-website-bot
Copy link
Copy Markdown
Collaborator

Visit the preview URL for this PR (updated for commit 8040b0a):

https://flutter-docs-prod--pr13309-add-sqlite-relations-exampl-oiw98tci.web.app

@sfshaza2 sfshaza2 merged commit 6d50799 into flutter:main Apr 27, 2026
10 checks passed
@sfshaza2 sfshaza2 mentioned this pull request Apr 27, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants