The DoYouHaoBaby PHP Framework中文开发文档手册
Copyright(c) DoYouHaoBaby.NET All Rights Reserved.
[ 数据库字段 ]
数据库字段命名遵循以下规范:
  1. 全部使用小写;
  2. 多个单词间使用_间隔。
  3. 以数据库表名(不含表前缀)为字段前缀

例子:

  1. // 数据库表   
  2.   
  3. dyhb_hello   
  4.   
  5. // 字段   
  6.   
  7. hello_user   
  8.   
  9. hello_user_name