sqlmodel
sqlmodel copied to clipboard
SQL databases in Python, designed for simplicity, compatibility, and robustness.
Resolves #7 the approach was to wrap the model around a custom type similar to the [SQLAlchemy documentation example ](https://docs.sqlalchemy.org/en/14/core/custom_types.html#marshal-json-strings). although i thought about using [hypothesis](https://github.com/HypothesisWorks/hypothesis) but it will introduce...
Set up a CI workflow to check for common misspellings in project files. https://github.com/codespell-project/codespell
`ForeignKey` definitions in SqlAlchemy accept kwargs such as `onupdate` and `ondelete` that determine the behaviour of the foreign key at the DB level. This PR adds the option to provide...
Hi there! I'm pretty new to this project and I think this is the best time to contribute documentation. The tutorial is amazing, but missing a formal reference makes finding...
✨ Add dynamic model creation Enables users to dynamically create sqlmodel models, similar to Pydantic's `create_model()` method (https://github.com/samuelcolvin/pydantic/blob/5261fd05a0374b84ce2602d45990baf480fa2417/pydantic/main.py#L927-L984) This can be helpful in cases where a model's fields are not...
I added the migrations section to use SQLModel with alembic. - [X] Initial example - [X] Step by step - [X] Example codes
- (2✅ of 15⏹️ ) asyncio Tutorials matching sync Tutorials. - (2✅ of 15⏹️ ) pytest asyncio tutorial tests - ✅above tests and tutorials passing `mypy` static analysis (see note...
 I add a new feature of adding language and change language section for the docs that based on the FastAPI docs what @tiangolo made.
### First Check - [X] I added a very descriptive title to this issue. - [X] I used the GitHub search to find a similar issue and didn't find it....