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

(This post was last modified: 11-07-2017, 02:03 AM by Coool6.)

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 ?
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 Coool6 - 11-07-2017, 02:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB