V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
zhengfan2016
V2EX  ›  Python

大佬们,有没有类似 PHP 框架的数据库链式查询的 Python 模块

  •  
  •   zhengfan2016 · 2021-05-16 15:43:59 +08:00 · 1539 次点击
    这是一个创建于 1069 天前的主题,其中的信息可能已经有所发展或是发生改变。
    如题,用了 php 框架的数据库链式查询感觉很好用,想问问有没有类似的 python 模块,不想写 sql 语句啊。
    4 条回复    2021-05-17 17:47:51 +08:00
    ysw
        1
    ysw  
       2021-05-16 16:19:30 +08:00   ❤️ 1
    php 哪个框架,python 的框架例如 django 等都有自带 orm 的,或者你搜一下 sqlalchemy
    charlie21
        2
    charlie21  
       2021-05-16 18:42:38 +08:00   ❤️ 1
    关键字 ORM active record
    jackerbauer
        3
    jackerbauer  
       2021-05-16 18:57:12 +08:00   ❤️ 1
    python 数据库框架著名就那几个,比如 sqlalchemy,peewee,比起 PHP 这种的,用起来还是复杂点
    phpinfo
        4
    phpinfo  
       2021-05-17 17:47:51 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1215 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 18:08 · PVG 02:08 · LAX 11:08 · JFK 14:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.