pony如何设置栏目评论
how pony set column comment
我想用pony设置Column comment,但是找不到comment
参数,
我想要下面这样的评论栏
class User(db.Entity):
__tablename__ = 'account_collection'
uid = Required(str, max_len=50, comment='unique user id')
name = Required(str, max_len=50, comment='username')
但它不会工作并提高 TypeError: Attribute User.uid has unknown option 'comment'
Pony暂不支持任何类型的评论。
也许有一天我们会添加此功能。
我想用pony设置Column comment,但是找不到comment
参数,
我想要下面这样的评论栏
class User(db.Entity):
__tablename__ = 'account_collection'
uid = Required(str, max_len=50, comment='unique user id')
name = Required(str, max_len=50, comment='username')
但它不会工作并提高 TypeError: Attribute User.uid has unknown option 'comment'
Pony暂不支持任何类型的评论。 也许有一天我们会添加此功能。