René's URL Explorer Experiment


Title: Flexibly Create Nested Database Entries from Incoming Pydantic/SQLModels · Issue #6 · fastapi/sqlmodel · GitHub

Open Graph Title: Flexibly Create Nested Database Entries from Incoming Pydantic/SQLModels · Issue #6 · fastapi/sqlmodel

X Title: Flexibly Create Nested Database Entries from Incoming Pydantic/SQLModels · Issue #6 · fastapi/sqlmodel

Description: First Check I added a very descriptive title to this issue. I used the GitHub search to find a similar issue and didn't find it. I searched the SQLModel documentation, with the integrated search. I already searched in Google "How to X in...

Open Graph Description: First Check I added a very descriptive title to this issue. I used the GitHub search to find a similar issue and didn't find it. I searched the SQLModel documentation, with the integrated search. I...

X Description: First Check I added a very descriptive title to this issue. I used the GitHub search to find a similar issue and didn't find it. I searched the SQLModel documentation, with the integrated searc...

Opengraph URL: https://github.com/fastapi/sqlmodel/issues/6

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Flexibly Create Nested Database Entries from Incoming Pydantic/SQLModels","articleBody":"### First Check\n\n- [X] I added a very descriptive title to this issue.\n- [X] I used the GitHub search to find a similar issue and didn't find it.\n- [X] I searched the SQLModel documentation, with the integrated search.\n- [X] I already searched in Google \"How to X in SQLModel\" and didn't find any information.\n- [X] I already read and followed all the tutorial in the docs and didn't find an answer.\n- [X] I already checked if it is not related to SQLModel but to [Pydantic](https://github.com/samuelcolvin/pydantic).\n- [X] I already checked if it is not related to SQLModel but to [SQLAlchemy](https://github.com/sqlalchemy/sqlalchemy).\n\n### Commit to Help\n\n- [X] I commit to help with one of those options 👆\n\n### Example Code\n\n```python\n# Sudo Code Based on Examples in Docs\r\n\r\nclass Team(SQLModel, table=True):\r\n    id: Optional[int] = Field(default=None, primary_key=True)\r\n    name: str\r\n    headquarters: str\r\n\r\n\r\n    heroes: List[\"Hero\"] = Relationship(back_populates=\"team\")\r\n\r\n\r\n\r\nclass Hero(SQLModel, table=True):\r\n    id: Optional[int] = Field(default=None, primary_key=True)\r\n    name: str\r\n    secret_name: str\r\n    age: Optional[int] = None\r\n\r\n    team_id: Optional[int] = Field(default=None, foreign_key=\"team.id\")\r\n\r\n    team: Optional[Team] = Relationship(back_populates=\"heroes\")\r\n\r\n\r\npayload = {\r\n    \"name\": \"Team Name\",\r\n    \"headquarters\": \"Whereever\".\r\n    \"heroes\": [\r\n        \"name\": \"Name 1\"\r\n        // Other Requied Fields... 👇\r\n    ]\r\n}\r\n\r\nwith Session(engine) as session:\r\n    Team.create_all_nested(session, payload) # or something?\n```\n\n\n### Description\n\nI would like to do what is described in [FastAPI issue #2194](https://github.com/tiangolo/fastapi/issues/2194)\r\n\r\n> How to make nested sqlalchemy models from nested pydantic models (or python dicts) in a generic way and write them to the database in \"one shot\".\r\n\r\nIn the example above, I'd like to pass in the payload to a method and the following to occur.\r\n* Create new Team entry\r\n* Create Hero entry and/or Relate the existing Hero to the Team\r\n\r\nSimilarly, I'd like the same to happen on update. Effectively making writing to the SQL database akin to writing to MongoDB\r\n\r\nI don't believe this is supported or haven't gotten it to work, but my main questions are.\r\n1. Is this supported? \r\n2. If no, is this a use-case you've thought of? \r\n3. Are you interested in a PR to support this either as a utility method or some sort of decorator? \r\n\r\nLoving working with this so far, thanks for all your hard work! \n\n### Operating System\n\nmacOS\n\n### Operating System Details\n\n_No response_\n\n### SQLModel Version\n\n0.0.3\n\n### Python Version\n\n3.9.6\n\n### Additional Context\n\nI have accomplished this with SQLAlchemy in the past by using an `auto_init` decarator.\r\n\r\n\r\n```python\r\nfrom functools import wraps\r\nfrom typing import Union\r\n\r\nfrom sqlalchemy.orm import MANYTOMANY, MANYTOONE, ONETOMANY\r\n\r\n\r\ndef handle_one_to_many_list(relation_cls, all_elements: list[dict]):\r\n    elems_to_create = []\r\n    updated_elems = []\r\n\r\n    for elem in all_elements:\r\n        elem_id = elem.get(\"id\", None)\r\n\r\n        existing_elem = relation_cls.get_ref(match_value=elem_id)\r\n\r\n        if existing_elem is None:\r\n\r\n            elems_to_create.append(elem)\r\n\r\n        else:\r\n            for key, value in elem.items():\r\n                setattr(existing_elem, key, value)\r\n\r\n            updated_elems.append(existing_elem)\r\n\r\n    new_elems = []\r\n    for elem in elems_to_create:\r\n        new_elems = [relation_cls(**elem) for elem in all_elements]\r\n\r\n    return new_elems\r\n\r\n\r\ndef auto_init(exclude: Union[set, list] = None):  # sourcery no-metrics\r\n    \"\"\"Wraps the `__init__` method of a class to automatically set the common\r\n    attributes.\r\n\r\n    Args:\r\n        exclude (Union[set, list], optional): [description]. Defaults to None.\r\n    \"\"\"\r\n\r\n    exclude = exclude or set()\r\n    exclude.add(\"id\")\r\n\r\n    def decorator(init):\r\n        @wraps(init)\r\n        def wrapper(self, *args, **kwargs):  # sourcery no-metrics\r\n            \"\"\"\r\n            Custom initializer that allows nested children initialization.\r\n            Only keys that are present as instance's class attributes are allowed.\r\n            These could be, for example, any mapped columns or relationships.\r\n\r\n            Code inspired from GitHub.\r\n            Ref: https://github.com/tiangolo/fastapi/issues/2194\r\n            \"\"\"\r\n            cls = self.__class__\r\n            model_columns = self.__mapper__.columns\r\n            relationships = self.__mapper__.relationships\r\n\r\n            session = kwargs.get(\"session\", None)\r\n\r\n            for key, val in kwargs.items():\r\n                if key in exclude:\r\n                    continue\r\n\r\n                if not hasattr(cls, key):\r\n                    continue\r\n                    # raise TypeError(f\"Invalid keyword argument: {key}\")\r\n\r\n                if key in model_columns:\r\n                    setattr(self, key, val)\r\n                    continue\r\n\r\n                if key in relationships:\r\n                    relation_dir = relationships[key].direction.name\r\n                    relation_cls = relationships[key].mapper.entity\r\n                    use_list = relationships[key].uselist\r\n\r\n                    if relation_dir == ONETOMANY.name and use_list:\r\n                        instances = handle_one_to_many_list(relation_cls, val)\r\n                        setattr(self, key, instances)\r\n\r\n                    if relation_dir == ONETOMANY.name and not use_list:\r\n                        instance = relation_cls(**val)\r\n                        setattr(self, key, instance)\r\n\r\n                    elif relation_dir == MANYTOONE.name and not use_list:\r\n                        if isinstance(val, dict):\r\n                            val = val.get(\"id\")\r\n\r\n                            if val is None:\r\n                                raise ValueError(f\"Expected 'id' to be provided for {key}\")\r\n\r\n                        if isinstance(val, (str, int)):\r\n                            instance = relation_cls.get_ref(match_value=val, session=session)\r\n                            setattr(self, key, instance)\r\n\r\n                    elif relation_dir == MANYTOMANY.name:\r\n\r\n                        if not isinstance(val, list):\r\n                            raise ValueError(f\"Expected many to many input to be of type list for {key}\")\r\n\r\n                        if len(val) > 0 and isinstance(val[0], dict):\r\n                            val = [elem.get(\"id\") for elem in val]\r\n\r\n                        instances = [relation_cls.get_ref(elem, session=session) for elem in val]\r\n                        setattr(self, key, instances)\r\n\r\n            return init(self, *args, **kwargs)\r\n\r\n        return wrapper\r\n\r\n    return decorator\r\n\r\n```\r\n\r\n## Usage\r\n\r\n```python\r\n\r\nclass AdminModel(SqlAlchemyBase, BaseMixins):\r\n    name = Column(String, index=True)\r\n    email = Column(String, unique=True, index=True)\r\n    password = Column(String)\r\n    is_superuser = Column(Boolean(), default=False)\r\n\r\n    @auto_init(exclude={'is_superuser'})\r\n    def __init__(self, **_):\r\n        this.is_superuser = false\r\n\r\n    @classmethod\r\n    def get_ref(cls, match_value: str, match_attr: str = \"id\"):\r\n        with SessionLocal() as session:\r\n            eff_ref = getattr(cls, match_attr)\r\n            return session.query(cls).filter(eff_ref == match_value).one_or_none()\r\n\r\n```decorator","author":{"url":"https://github.com/hay-kot","@type":"Person","name":"hay-kot"},"datePublished":"2021-08-24T23:12:28Z","url":"https://github.com/fastapi/sqlmodel/issues/6"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:84d56d19-8756-11eb-ac4c-f1b7dc32c8fa
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAB8A:2B73A8:8FC454:CA5A9E:6AFE1B99
html-safe-nonce47aa602a750d7e259761f93e37547ab2539e71f2673f8eaa57dc2ca8a1539998
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjhBOjJCNzNBODo4RkM0NTQ6Q0E1QTlFOjZBRkUxQjk5IiwidmlzaXRvcl9pZCI6IjE5MTU1MjY0MjkwNzY3NTc0MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca3e243abcc4d51253c83d6d6a3b96f1f9a0a96677be16ceee808dd31aadbe703
hovercard-subject-tagissue:978553881
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/fastapi/sqlmodel/6/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5148646d6c27fb97fb2542906700f2a0e2a3767ed45ae21ea4c3a3bbdb7b630e/fastapi/sqlmodel/issues/6
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5148646d6c27fb97fb2542906700f2a0e2a3767ed45ae21ea4c3a3bbdb7b630e/fastapi/sqlmodel/issues/6
og:image:altFirst Check I added a very descriptive title to this issue. I used the GitHub search to find a similar issue and didn't find it. I searched the SQLModel documentation, with the integrated search. I...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehay-kot
hostnamegithub.com
expected-hostnamegithub.com
Noned0525ab1464526bf4532a5551aa348cf100dff75ef808a96fc67a08b1d946aa9
turbo-cache-controlno-preview
go-importgithub.com/fastapi/sqlmodel git https://github.com/fastapi/sqlmodel.git
octolytics-dimension-user_id156354296
octolytics-dimension-user_loginfastapi
octolytics-dimension-repository_id399495186
octolytics-dimension-repository_nwofastapi/sqlmodel
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id399495186
octolytics-dimension-repository_network_root_nwofastapi/sqlmodel
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasefef3993a71fa20f7be8e167132fbf9619bc66e12
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/fastapi/sqlmodel/issues/6#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fissues%2F6
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fissues%2F6
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=fastapi%2Fsqlmodel
Reloadhttps://github.com/fastapi/sqlmodel/issues/6
Reloadhttps://github.com/fastapi/sqlmodel/issues/6
Reloadhttps://github.com/fastapi/sqlmodel/issues/6
fastapihttps://github.com/fastapi
sqlmodelhttps://github.com/fastapi/sqlmodel
Codehttps://github.com/fastapi/sqlmodel
Issues1 (1)https://github.com/fastapi/sqlmodel/issues
Pull requests53 (53)https://github.com/fastapi/sqlmodel/pulls
Discussionshttps://github.com/fastapi/sqlmodel/discussions
Actionshttps://github.com/fastapi/sqlmodel/actions
Projectshttps://github.com/fastapi/sqlmodel/projects
Security and qualityhttps://github.com/fastapi/sqlmodel/security
Insightshttps://github.com/fastapi/sqlmodel/insights
https://github.com/fastapi/sqlmodel
New issuehttps://github.com/login?return_to=https://github.com/fastapi/sqlmodel/issues/6
New issuehttps://github.com/login?return_to=https://github.com/fastapi/sqlmodel/issues/6
Flexibly Create Nested Database Entries from Incoming Pydantic/SQLModelshttps://github.com/fastapi/sqlmodel/issues/6#top
featureNew feature or requesthttps://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3A%22feature%22
https://github.com/hay-kot
hay-kothttps://github.com/hay-kot
on Aug 24, 2021https://github.com/fastapi/sqlmodel/issues/6#issue-978553881
Pydantichttps://github.com/samuelcolvin/pydantic
SQLAlchemyhttps://github.com/sqlalchemy/sqlalchemy
FastAPI issue #2194https://github.com/tiangolo/fastapi/issues/2194
Nexthttps://github.com/fastapi/sqlmodel/issues/6?timeline_page=1
hay-kothttps://github.com/hay-kot
questionFurther information is requestedhttps://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3A%22question%22
on Aug 24, 2021https://github.com/fastapi/sqlmodel/issues/6#event-5203438980
https://github.com/khialb32
khialb32https://github.com/khialb32
on Sep 27, 2021https://github.com/fastapi/sqlmodel/issues/6#issuecomment-927793770
@hay-kothttps://github.com/hay-kot
https://github.com/hobbsAU
hobbsAUhttps://github.com/hobbsAU
on Oct 2, 2021https://github.com/fastapi/sqlmodel/issues/6#issuecomment-932688903
https://github.com/woprandi
woprandihttps://github.com/woprandi
on Oct 27, 2021https://github.com/fastapi/sqlmodel/issues/6#issuecomment-953044958
https://github.com/scd75
scd75https://github.com/scd75
on Jan 24, 2022https://github.com/fastapi/sqlmodel/issues/6#issuecomment-1020192197
@hay-kothttps://github.com/hay-kot
@hay-kothttps://github.com/hay-kot
fastapi/fastapi#2194https://github.com/fastapi/fastapi/issues/2194
sqlalchemy/sqlalchemy#6322https://github.com/sqlalchemy/sqlalchemy/discussions/6322
@tiangolohttps://github.com/tiangolo
https://github.com/Fanna1119
Fanna1119https://github.com/Fanna1119
on Feb 16, 2022https://github.com/fastapi/sqlmodel/issues/6#issuecomment-1041164679
synodriverhttps://github.com/synodriver
on Jun 24, 2022https://github.com/fastapi/sqlmodel/issues/6#event-6872123701
Merge pull request fastapi#6 from van51/bugfix/nullable_fieldhttps://github.com/synodriver/sqlmodel/commit/90a77ceccdc8b474fc910b3b7d154dfdae6a1cad
fastapi#6https://github.com/fastapi/sqlmodel/issues/6
90a77cehttps://github.com/synodriver/sqlmodel/commit/90a77ceccdc8b474fc910b3b7d154dfdae6a1cad
https://github.com/Sancho66
Sancho66https://github.com/Sancho66
on Jul 20, 2022https://github.com/fastapi/sqlmodel/issues/6#issuecomment-1190635726
https://github.com/Sillocan
Sillocanhttps://github.com/Sillocan
on Dec 27, 2022https://github.com/fastapi/sqlmodel/issues/6#issuecomment-1366117231
https://github.com/zrajna
zrajnahttps://github.com/zrajna
on Jan 21, 2023https://github.com/fastapi/sqlmodel/issues/6#issuecomment-1399235375
https://github.com/50Bytes-dev
50Bytes-devhttps://github.com/50Bytes-dev
on May 12, 2023https://github.com/fastapi/sqlmodel/issues/6#issuecomment-1545657823
https://github.com/micoloth
micolothhttps://github.com/micoloth
on Jun 18, 2023https://github.com/fastapi/sqlmodel/issues/6#issuecomment-1596016379
https://github.com/s-froghyar
s-froghyarhttps://github.com/s-froghyar
on Jan 1, 2024https://github.com/fastapi/sqlmodel/issues/6#issuecomment-1873367830
https://github.com/whugarra
whugarrahttps://github.com/whugarra
on Jul 15, 2024https://github.com/fastapi/sqlmodel/issues/6#issuecomment-2227759341
https://github.com/dataengineeringatfunderzgroup
dataengineeringatfunderzgrouphttps://github.com/dataengineeringatfunderzgroup
on Oct 31, 2024https://github.com/fastapi/sqlmodel/issues/6#issuecomment-2448806533
https://github.com/Guddi11
Guddi11https://github.com/Guddi11
on Dec 19, 2024https://github.com/fastapi/sqlmodel/issues/6#issuecomment-2553139606
https://github.com/muddassir-lateef
muddassir-lateefhttps://github.com/muddassir-lateef
on Feb 21, 2025https://github.com/fastapi/sqlmodel/issues/6#issuecomment-2674166646
@tiangolohttps://github.com/tiangolo
https://github.com/UmarBelloKanwa
UmarBelloKanwahttps://github.com/UmarBelloKanwa
on Feb 21, 2025https://github.com/fastapi/sqlmodel/issues/6#issuecomment-2674344027
https://github.com/Sillocan
Sillocanhttps://github.com/Sillocan
on Mar 10, 2025https://github.com/fastapi/sqlmodel/issues/6#issuecomment-2709328304
https://github.com/nathggns
nathggnshttps://github.com/nathggns
on Mar 20, 2025https://github.com/fastapi/sqlmodel/issues/6#issuecomment-2740083947
https://github.com/davletovalmir
davletovalmirhttps://github.com/davletovalmir
on Mar 29, 2025https://github.com/fastapi/sqlmodel/issues/6#issuecomment-2763078481
https://github.com/gzu300
gzu300https://github.com/gzu300
on Jun 23, 2025https://github.com/fastapi/sqlmodel/issues/6#issuecomment-2996305173
YuriiMotovhttps://github.com/YuriiMotov
Is it possible to instantiate a SQLModel object with relationships from a dict type? #342https://github.com/fastapi/sqlmodel/issues/342
on Aug 26, 2025https://github.com/fastapi/sqlmodel/issues/6#event-19352109322
YuriiMotovhttps://github.com/YuriiMotov
Issue using from_orm stripping Relationship data from models #224https://github.com/fastapi/sqlmodel/issues/224
on Aug 27, 2025https://github.com/fastapi/sqlmodel/issues/6#event-19362900750
https://github.com/WilliamDEdwards
WilliamDEdwardshttps://github.com/WilliamDEdwards
on Oct 10, 2025https://github.com/fastapi/sqlmodel/issues/6#issuecomment-3389157172
https://github.com/gzu300
gzu300https://github.com/gzu300
on Oct 10, 2025https://github.com/fastapi/sqlmodel/issues/6#issuecomment-3389367908
tiangolohttps://github.com/tiangolo
featureNew feature or requesthttps://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3A%22feature%22
questionFurther information is requestedhttps://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3A%22question%22
on May 18, 2026https://github.com/fastapi/sqlmodel/issues/6#event-25660209927
fastapihttps://github.com/fastapi
on May 18, 2026https://github.com/fastapi/sqlmodel/issues/6#event-25660220569
tiangolohttps://github.com/tiangolo
#1918 https://github.com/fastapi/sqlmodel/discussions/1918
on May 18, 2026https://github.com/fastapi/sqlmodel/issues/6#event-25660220813
Sign up for freehttps://github.com/signup?return_to=https://github.com/fastapi/sqlmodel/issues/6
Sign in to commenthttps://github.com/login?return_to=https://github.com/fastapi/sqlmodel/issues/6
featureNew feature or requesthttps://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3A%22feature%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.