mysql为什么不驼峰_为什么不用驼峰命名创建表名和字段?
其實(shí),這是一種規(guī)范,而不是一種規(guī)則。所以你使用駝峰來(lái)命名也是可以的,但是我們要避免用駝峰來(lái)命名。
不只是數(shù)據(jù)庫(kù),就是平常的程序也是,因?yàn)?#xff1a;
MYSQL 5.7 FEATURES. THIS MANUAL DESCRIBES FEATURES THAT ARE NOT INCLUDED IN EVERY EDITION OF MYSQL 5.7; SUCH FEATURES MAY NOT BE INCLUDED IN THE EDITION OF MYSQL 5.7 LICENSED TO YOU. IF YOU HAVE ANY QUESTIONS ABOUT THE FEATURES INCLUDED IN YOUR EDITION OF MYSQL 5.7, REFER TO YOUR MYSQL 5.7 LICENSE AGREEMENT OR CONTACT YOUR ORACLE SALES REPRESENTATIVE.
你能一眼看出這段文字么?
MySQL 5.7 features. This manual describes features that are not included in every edition of MySQL 5.7; such features may not be included in the edition of MySQL 5.7 licensed to you. If you have any questions about the features included in your edition of MySQL 5.7, refer to your MySQL 5.7 license agreement or contact your Oracle sales representative.
人看習(xí)慣了一種規(guī)范,看到駝峰就要花腦力去解析的好么?不只是要你看得懂,后面維護(hù)的人也要看懂。
總結(jié)
以上是生活随笔為你收集整理的mysql为什么不驼峰_为什么不用驼峰命名创建表名和字段?的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Flink-Java版单词计数(批处理流
- 下一篇: opencv 二值化_Python-Op