Home
Sign Up
Sign In
推荐学习书目
›
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
V2EX
›
Python
sqlalchemy 在创建表的时候,能不能给表字段加上注释? 看了官方文档,关于 Column 的内容,没有 comment 相关的内容。
agentwx
·
Nov 23, 2016
· 4893 views
This topic created in 3638 days ago, the information mentioned may be changed or developed.
表字段
SQLAlchemy
Column
comment
2 replies
•
2016-11-24 09:36:42 +08:00
Sight4
Nov 24, 2016
1
1
暂时为止,不能。参考官方文档 Column 的 doc 属性说明『 doc – optional String that can be used by the ORM or similar to document attributes. This attribute does not render SQL comments (a future attribute ‘ comment ’ will achieve that).』
agentwx
OP
Nov 24, 2016
2
@
Sight4
嗯, 我也看到了这个,以为还有另外的用法
感谢~
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
4468 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms ·
UTC 01:19
·
PVG 09:19
·
LAX 17:19
·
JFK 20:19
♥ Do have faith in what you're doing.
❯