I am trying to build a query in Kohana and struggling to convert the query given to me by a DB admin into kohana query builder syntax. The query is failing when trying to compare the following:
AND du.user_key = dd.user_key
Using the syntax
->and_where('du.user_key', '=', 'dd.user_key')
I know this is because the builder is expecting the params, column, op, value. SO my question is there away to get the builder to recognise the value as a DB column, i have been looking through the docs but but to no avail... Any help would be appreciated.
CHeers