Welcome Guest, Not a member yet? Register   Sign In
Avoid conflict between column names ?
#8

(11-07-2017, 02:00 AM)Coool6 Wrote: I just saw in the documentation that CI has dbprefix()

https://www.codeigniter.com/user_guide/d...s-manually

But i don't really get how it works. So i keep my database without changing the column name, but i define a dbprefix and then when i use CI Query Builder, i write the column name including the prefix as if it's native ? Or the dbprefix only applies on the table name and not on the column names ?

Pretty sure it's just table name. Think multiple CI sites within a single DB container.
Reply


Messages In This Thread
Avoid conflict between column names ? - by Coool6 - 11-07-2017, 12:38 AM
RE: Avoid conflict between column names ? - by SomeGuy - 11-08-2017, 08:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB