Asynchronous CRUD Operation based on SQLAlChemy2 Model
Project description
sqlalchemy-crud-plus
基于 SQLAlChemy2 模型的异步 CRUD 操作
下载
pip install sqlalchemy-crud-plus
TODO
- ...
Use
以下仅为简易示例
from sqlalchemy.orm import declarative_base
from sqlalchemy_crud_plus import CRUDPlus
Base = declarative_base()
class ModelIns(Base):
# your sqlalchemy model
pass
class CRUDIns(CRUDPlus[ModelIns]):
# your controller service
pass
# singleton
ins_dao = CRUDIns(ModelIns)
互动
赞助
如果此项目能够帮助到你,你可以赞助作者一些咖啡豆表示鼓励::coffee: Sponsor :coffee:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sqlalchemy_crud_plus-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21536f7c6531a1aec3a42baf4d3d58bd0e7991b9c840658ffc948c982cf430e1 |
|
MD5 | e4fb1306f8df76d00fd320dac03a9090 |
|
BLAKE2b-256 | dde3dd75d90b542b063afc63de5d46784838fad934b3ee04ae20aa3c97f86349 |
Close
Hashes for sqlalchemy_crud_plus-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86c7c7b25f780edbcfae54dd466fee44ab29c82f643e6e9dc623b8388e4a2635 |
|
MD5 | cd07f4a24ac2fb24d2cf35e32875a18d |
|
BLAKE2b-256 | 6858f94642c9e369aef906cc219c3a00a6d8f2421f84ec87766fc4d280470ef5 |