Welcome Guest, Not a member yet? Register   Sign In
dbprefix in where clause
#1

[eluser]Unknown[/eluser]
I'm currenty trying out the 3.0 dev release of CI and everything works fine so far. I just noticed one thing:

If I specify my table in a where clause e.g.
Code:
$this->db->where('users.user_id', $user_id);
the dbprefix doesn't get added in front of users.user_id.

I don't know if this is a bug or just can't be done but I thought I'd report it.

Best Regards,

Evo
#2

[eluser]CroNiX[/eluser]
Please report it on github if it hasn't been already.
https://github.com/EllisLab/CodeIgniter/issues




Theme © iAndrew 2016 - Forum software by © MyBB