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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc77486db6075d59cf5ecbc16e2de0e28a522686e59aa03d3cabfe985f069f12 |
|
MD5 | f5efa98468ca113ca2bec78957315b1e |
|
BLAKE2b-256 | 4530263a95a627c268eebeb4aad95af57df481e31cb7d567f10dcff827aaff0b |
Close
Hashes for sqlalchemy_crud_plus-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7ebed3ad32da3d4f1bb783f13769591cd32e71ae6b0942ee532d69a1b339b2e |
|
MD5 | 090d654c05a35da61383c3352b441ebc |
|
BLAKE2b-256 | 882ff22a9f5215f7a482a73e88ce417c72973a3e1cb78e3762e8e05ec7a5a08a |