Skip to content

Instantly share code, notes, and snippets.

@abdullahbutt
Created November 18, 2013 09:19
Show Gist options
  • Select an option

  • Save abdullahbutt/7524999 to your computer and use it in GitHub Desktop.

Select an option

Save abdullahbutt/7524999 to your computer and use it in GitHub Desktop.
CI_Active_Record_Class_Summary
Summary
We've looked at CI's Active Record class and seen how easy it is to:
1) Set up connections to one or more databases
2) Do standard SQL read, update, create, and delete queries
3) 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.
It can do pretty well anything that you can do with 'classic' SQL—more than I have space to explain here. See the online User Guide for fuller details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment