Welcome Guest, Not a member yet? Register   Sign In
Active Record trouble
#3

[eluser]Taff[/eluser]
Thanks for your reply.

I couldn't find anything in the user guide in regard to raw.

Code:
$where = "field=otherfield";
$this->db->where($where);

doesn't give me anything different.

Code:
$where = "field=otherfield";
$this->db->where($where,NULL,FALSE);

doesnt either.

I would have thought that a where query where one field is required to match another would be a relatively widely used procedure. I am adapting some queries that already exist, and would like to do without join where possible.

Hopefully you can find the syntax you have been using in the past.
Thanks,
Taff


Messages In This Thread
Active Record trouble - by El Forum - 08-21-2008, 08:22 AM
Active Record trouble - by El Forum - 08-21-2008, 08:50 AM
Active Record trouble - by El Forum - 08-22-2008, 04:46 AM
Active Record trouble - by El Forum - 11-15-2008, 06:04 PM
Active Record trouble - by El Forum - 11-15-2008, 08:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB