Welcome Guest, Not a member yet? Register   Sign In
View Active Record Query String?
#1

[eluser]jpschroeder[/eluser]
Is it possible to view the actually query string that is generated by activerecord? I would like to be able to see what is actually being run in certain circumstances. Example:

Code:
$this->db->select("*");
$this->db->from("checklist");
$this->db->join("checklist_progress","checklist_progress.checklist_item = checklist.id");
$this->db->where("user",$user);

Now I want to actually see what that creates as a query string. Any love?


Messages In This Thread
View Active Record Query String? - by El Forum - 08-05-2009, 10:51 AM
View Active Record Query String? - by El Forum - 08-05-2009, 11:16 AM
View Active Record Query String? - by El Forum - 08-05-2009, 11:41 AM
View Active Record Query String? - by El Forum - 08-05-2009, 11:45 AM
View Active Record Query String? - by El Forum - 08-05-2009, 11:51 AM
View Active Record Query String? - by El Forum - 08-05-2009, 12:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB