官术网_书友最值得收藏!

Summary

We've looked at CI's Active Record class and seen how easy it is to:

  • Set up connections to one or more databases
  • Do standard SQL read, update, create, and delete queries
  • Perform other functions that we need to use a database properly

CI's Active Record function is clean and easy to use, and makes coding much clearer to read. It automates database connections, allowing you to abstract the connection information to one config file.

Now, before going to the next chapter, you may want to take a look at some other functions the database class has to offer:

http://codeigniter.com/user_guide/database/active_record.html.

If you feel like going deeper into the intricacies of CodeIgniter you must take a look at "database caching" (not view caching):

http://codeigniter.com/user_guide/database/caching.html.

主站蜘蛛池模板: 铁岭县| 永寿县| 阿荣旗| 岳普湖县| 黄石市| 老河口市| 洛南县| 巴林右旗| 河曲县| 瓦房店市| 和顺县| 喀喇| 绿春县| 宝鸡市| 广安市| 贵州省| 余姚市| 抚远县| 东乌| 汝城县| 五指山市| 岳阳市| 余干县| 滨海县| 南安市| 凌海市| 林周县| 上饶市| 融水| 将乐县| 广汉市| 黄骅市| 禹州市| 普安县| 隆尧县| 宜州市| 神池县| 上饶市| 莱阳市| 璧山县| 元朗区|