Kohana 3 ORM 表命名
我的问题是关于多字 MySQL 表名称的约定,例如“comments_flags”,它不是数据透视表。
- “comments_flags”的正确数据库表名称是什么?
- 对应的型号名称是什么?
感谢您的任何建议。
My question is about the conventions around a multi-worded MySQL table name e.g. "comments_flags," which is not a pivot table.
- What is the correct database table name for "comments_flags"?
- What would the corresponding model name be?
Thanks for any advice.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这与单个单词的情况没有什么不同。
评论标志
模型_评论_标志
It is no different then for single word cases.
comments_flags
Model_Comments_Flag