Welcome Guest, Not a member yet? Register   Sign In
Ways to wrtie in Active Record
#1

While the documentation shows you can write code like:

Code:
$this->db->where();
$this->db->get()
$this->db->get_where();

You can also write more clean code with a lot less typing like below:

Code:
$my_query = $this->db
      ->where('')
      ->where_in('')
      ->select('')
      ->from('')
      ->order_by('')
      ->limit('')
      ->get();
PurdyDesigns Website Design, Development. Also Including Web Hosting. Print Media, server deployment and management, and more!
Reply


Messages In This Thread
Ways to wrtie in Active Record - by Shawn P - 10-23-2014, 01:14 PM
RE: Ways to wrtie in Active Record - by Rufnex - 10-23-2014, 01:35 PM
RE: Ways to wrtie in Active Record - by peterdenk - 10-23-2014, 02:07 PM
RE: Ways to wrtie in Active Record - by mwhitney - 12-12-2014, 01:51 PM
RE: Ways to wrtie in Active Record - by bclinton - 12-12-2014, 05:08 PM
RE: Ways to wrtie in Active Record - by mwhitney - 12-15-2014, 10:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB