Question [DB Query Builder] |
Hello guys,
I am a bit confused of some functions from the library DB Query Builder. I tried to use db->from, db->join in this way: PHP Code: $this->db->from('table t'); but when i run the query i saw, that this functions add to the table '`' before and after, and the result is something like: PHP Code: FROM `table` `t` Is totally wrong... How i can use this function to get normal results like: `table` t and `table2` t2, and btw this happens and on the select function when i use: t.`column`, it makes `t`.`column`? Thanks.
Code: $this->db->from('table AS t');
Maybe the fake 'condition' breaks the query builder. On current 3.0.2-dev code I tested this:
Code: $this->db->from('table AS t'); And here is the produced SQL: Code: SELECT * |
Welcome Guest, Not a member yet? Register Sign In |