sqlalchemy multiple db 源码
sqlalchemy-multiple-db sqlalchemy-multiple-db helper可轻松连接到多个数据库。 安装 sqlalchemy-multiple-db在PyPI上可用。 使用pip安装: $ pip install sqlalchemy-multiple-db 基本用法 from sqlalchemy_multiple_db import DBConfig , db db . setup ({ "test1" : DBConfig ( dsn = "sqlite://" ), "test2" : DBConfig ( dsn = "sqlite://" )}) with db . session_scope ( "test1" ) as session : assert session . execute ( "select 1;" ) with
文件列表
sqlalchemy-multiple-db-main.zip
(预估有个23文件)
sqlalchemy-multiple-db-main
setup.py
2KB
.gitignore
856B
codecov.yml
300B
Makefile
2KB
pyproject.toml
431B
MANIFEST.in
182B
.pre-commit-config.yaml
533B
LICENSE
11KB
sqlalchemy_multiple_db
暂无评论