• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.