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
hyperxu
V2EX  ›  Python

求助 flask mongo models 怎么写

  •  1
     
  •   hyperxu · 2018-05-30 15:32:20 +08:00 · 2217 次点击
    这是一个创建于 2130 天前的主题,其中的信息可能已经有所发展或是发生改变。
    RT,大佬们,flask 操作 mongo 的 model 咋写,求个 demo 看看。
    不用 orm 也没啥问题的吧
    4 条回复    2018-06-01 16:49:21 +08:00
    wellsc
        1
    wellsc  
       2018-05-30 15:33:44 +08:00 via iPhone
    不用 orm 后期会不知不觉自己造一个 orm 出来
    xiongbiao
        2
    xiongbiao  
       2018-05-30 20:02:40 +08:00   ❤️ 1
    看看 mongoengine
    Linxing
        3
    Linxing  
       2018-05-31 09:16:37 +08:00
    是可以不用 但是为什么不用呢 我发现不用 ORM 我完全不会写。。。哈哈哈哈
    linxzh1989
        4
    linxzh1989  
       2018-06-01 16:49:21 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2485 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 15:46 · PVG 23:46 · LAX 08:46 · JFK 11:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.