• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Join with calculation

#1
After upgrading from CI 2.x.x to CI 3.0.0 i've got several problems, and some of them i could fix and i understood why it was changed. But i'm not sure if i found a bug at this problem:

I'm doing a select statement and having the following kind of a join:

->join('table', 'table.x = (y - z)')

I've changed the variables to letters, because their content doesn't matter. CI framework is converting this to the following snippet:

JOIN `table` ON `table`.`x` = (`y-` `z)`

But it should convert it to the following snippet:

JOIN `table` ON `table`.`x` = (`y`-`z`)

So it's a bug or do i have to change sth. for CI 3.0.0?

Thanks in advance.
Reply


Messages In This Thread
Join with calculation - by Petrusilius - 07-04-2015, 02:59 PM
RE: Join with calculation - by mistergg - 07-08-2015, 10:59 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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