{"repo":"dan1elt0m/sadel","free":true,"listed":false,"github":"https://github.com/dan1elt0m/sadel","clone":"git clone https://github.com/dan1elt0m/sadel.git","description":"SQLModel helper class for upserting records.","language":"Python","stars":13,"topics":["alembic","database","pydantic","sqlalchemy","sqlmodel","upsert","asyncio"],"license":"MIT","category":"databases-storage","readme_excerpt":"Sadel Sadel is a helper class for upserting records with SQLModel. Installation Example upsert Output: Example batch upsert Output: Example update record Output: Features - Upsert and batch upsert functions. - For auditing, automatically adds and manages created on and modified on columns to your table (timezones are supported). - Validates your data before upserting using Pydantic validate model method (not supported in SQLModel) - Asyncio - Compatible with Alembic - Specify the (PK) columns to use for upserting using upsert index elements attribute - Ignore specific columns from updating using upsert exclude fields attribute Contributing - Fork the repository - Create a new branch - Make your changes - Raise a PR License This project is licensed under the terms of the MIT License","default_branch":null,"files":null,"tree":[],"storefront":"/r/dan1elt0m","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dan1elt0m/sadel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}