sqlmodelEasy Playground

SQL databases with Pydantic and SQLAlchemy (by FastAPI creator)

Getting started with sqlmodelRun locally
Install
pip install sqlmodel
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: sqlmodel)

sqlmodel is a third-party package. SQL databases with Pydantic and SQLAlchemy (by FastAPI creator). Install with: pip install sqlmodel

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?