Welcome Guest, Not a member yet? Register   Sign In
Question [DB Query Builder]
#1

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');
$this->db->join('table2 t2''condition''left'); 

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`
LEFT JOIN `table2` `t2ON condition 

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.
Reply


Messages In This Thread
Question [DB Query Builder] - by -V1cu- - 09-07-2015, 08:49 AM
RE: Question [DB Query Builder] - by -V1cu- - 09-07-2015, 12:07 PM
RE: Question [DB Query Builder] - by Narf - 09-08-2015, 01:04 AM
RE: Question [DB Query Builder] - by -V1cu- - 09-08-2015, 01:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB