Skip to main content

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)

互动

WeChat / QQ

赞助

如果此项目能够帮助到你,你可以赞助作者一些咖啡豆表示鼓励::coffee: Sponsor :coffee:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqlalchemy_crud_plus-0.0.3.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

sqlalchemy_crud_plus-0.0.3-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page